Code Injection Vulnerability in orval Product by orval-labs
CVE-2026-96754

9.3CRITICAL

Key Information:

Vendor

Orval-labs

Status
Vendor
CVE Published:
23 September 2026

What is CVE-2026-96754?

Versions of orval prior to 8.29.0 are susceptible to a code injection vulnerability stemming from the @orval/hono generator. The vulnerability occurs due to improper escaping of OpenAPI path values within single-quoted route literals. Malicious actors can exploit this flaw by creating an OpenAPI document that incorporates an apostrophe in a static path segment, enabling the injection of arbitrary JavaScript code. This injected code can execute when the generated TypeScript module is imported, posing significant security risks.

Affected Version(s)

orval 0 < 8.29.0

orval 8.29.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

Credit

Enrik Mustafa
.