Code Execution Vulnerability in Orval JavaScript Client Generator
CVE-2026-71866

9.3CRITICAL

Key Information:

Vendor

Orval-labs

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-71866?

A security flaw in Orval, a tool for generating type-safe JavaScript clients from OpenAPI and Swagger specifications, allows attackers to execute arbitrary JavaScript code due to unsafe encoding of a double quote in schema property names. This issue affects versions 8.19.0 through 8.21.0 specifically during the zod.object schema generation process. When the generated module is imported, the attacker-controlled input could lead to unintended code execution in various environments, including development and CI/CD pipelines. The vulnerability is rectified in Orval version 8.21.0.

Affected Version(s)

orval < 8.21.0

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.