CVE-2026-96754 orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path
CriticalCVSS 9.3
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm orval | < 8.29.0 | 8.29.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm orval | < 8.29.0 | 8.29.0 |
References
- GitHub Security Advisory (GHSA-g4mf-q5hw-f9j9) exploit vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path third-party-advisory