CVE-2026-96755 json
orval @orval/effect 8.14.0 through 8.28.1 Code Injection
published 2mo ago modified last mo. also EUVD-2026-85405 , GHSA-q7f2-jg6j-r867
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.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.
Patch / fix
- npm orval >=8.29.0
- orval-labs orval 8.29.0
- github.com/orval-labs/orval@d346d94 commit
- github.com/orval-labs/orval#3995 pull request
Is CVE-2026-96755 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
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/orval-labs/orval/security/advisories/GHSA-q7f2-jg6j-r867 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 |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | orval | <=8.27.0 |
>=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/3995
patch, issue-tracking
-
github.com
/orval-labs/orval/commit/d346d94a660e50a2f8d0f7c17fee2c4c69d8dc23
patch
-
github.com
/orval-labs/orval/security/advisories/GHSA-q7f2-jg6j-r867
vendor-advisory, exploit, advisory
-
github.com
/orval-labs/orval/blob/v8.28.1/packages/effect/src/index.ts#L298-L302
technical-description
-
github.com
/orval-labs/orval
product
-
vulncheck.com
/advisories/orval-orval-effect-8.14.0-through-8.28.1-code-injection
third-party-advisory
Sources
- CVE List CVE-2026-96755
- NVD CVE-2026-96755
- Maintainer advisory GHSA-q7f2-jg6j-r867
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.