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

9.3CRITICAL

Key Information:

Vendor

Orval-labs

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-71869?

Orval, a tool for generating type-safe JavaScript clients in TypeScript, has a vulnerability that allows attacker-controlled JavaScript to be executed when importing generated zod schema modules. This issue arises from unsafe encoding of a ${...} expression or backtick in an array item default, which leaks into a module-level template literal during schema generation. Developers and systems using versions before 8.21.0 may be exposed to execution risks in their development, CI, testing, or production environments. The issue has been addressed in 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

.