Remote Code Execution Vulnerability in Orval by Orval Labs
CVE-2026-72716

9.3CRITICAL

Key Information:

Vendor

Orval-labs

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-72716?

Prior to version 8.21.0, Orval, a tool for generating type-safe JavaScript clients from OpenAPI v3 and Swagger v2 specifications, contains a vulnerability that results from improper handling of expressions in query parameter defaults. Specifically, the emitted ${...} expressions or backticks are included in module-level template literals during Zod schema generation without adequate encoding. This can allow an attacker to execute arbitrary JavaScript code when the generated Zod schema module is imported, potentially compromising developer, Continuous Integration (CI), test, or application environments. The issue has been addressed in version 8.21.0 of Orval.

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

.