CVE-2026-71864

Critical

Description

Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a double quote in a header parameter name is emitted into the generated request-validation zod.object({...}) schema without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated zod schema module is imported, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/zod/src/index.ts and header request-validation generation. This issue is fixed in version 8.21.0.

SeverityCritical
CVSS9.3
Exploit probability—
ProductOrval
PublishedAug 19, 2026
First seenAug 19, 2026

How to fix

Update
  • orval8.21.0 or later

Affected products

ProductAffected versionsFixed in
orvalnpmv < 8.21.08.21.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.