CVE-2026-96754 orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path
Attackers can inject arbitrary JavaScript into generated TypeScript code via malicious OpenAPI paths, leading to code execution upon import.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-96754?
CVE-2026-96754 is a critical code injection vulnerability in orval-labs orval, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
orval versions before 8.29.0 contain a code injection vulnerability in the @orval/hono generator that fails to escape OpenAPI path values in single-quoted route literals. Attackers can craft an OpenAPI document with an apostrophe in a static path segment to inject arbitrary JavaScript code that executes when the generated TypeScript module is imported.
Weakness: CWE-94
Which versions are affected by CVE-2026-96754?
How do I fix CVE-2026-96754?
No fix has been published for CVE-2026-96754 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-96754 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-96754 exists.
Sources
Also known as GHSA-4p56-cvjx-38fv, GHSA-g4mf-q5hw-f9j9.