CVE-2026-96754 json
orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path
published 2mo ago modified last mo. also EUVD-2026-85404 , GHSA-g4mf-q5hw-f9j9
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository orval-labs/orval. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @orval/hono >=8.29.0
- orval-labs orval 8.29.0
- github.com/orval-labs/orval@155a5b7 commit
- github.com/orval-labs/orval@d346d94 commit
- github.com/orval-labs/orval#4006 pull request
Is CVE-2026-96754 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/orval-labs/orval/security/advisories/GHSA-g4mf-q5hw-f9j9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @orval/hono | <=8.28.1 |
>=8.29.0 |
Affected products
- orval-labs orval
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/orval-labs/orval/pull/4006
patch, issue-tracking
-
github.com
/orval-labs/orval/commit/155a5b7a38ff6886020cbc4c292db57c2793e6b6
patch
-
github.com
/orval-labs/orval/commit/d346d94a660e50a2f8d0f7c17fee2c4c69d8dc23
patch
-
github.com
/orval-labs/orval/security/advisories/GHSA-g4mf-q5hw-f9j9
vendor-advisory, exploit, advisory
-
github.com
/orval-labs/orval/blob/v8.28.1/packages/hono/src/index.ts#L169-L175
technical-description
-
github.com
/orval-labs/orval
product
-
vulncheck.com
/advisories/orval-orval-hono-before-8.29.0-code-injection-via-openapi-path
third-party-advisory
Sources
- CVE List CVE-2026-96754
- NVD CVE-2026-96754
- Maintainer advisory GHSA-g4mf-q5hw-f9j9
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of orval-labs/orval published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.