CVE-2026-62681 json
Orval: RCE via OpenAPI path -> unescaped request-URL template literal (backtick breakout)
published 3mo ago modified last mo. also EUVD-2026-62599 , GHSA-fg9p-mrxr-hvq7
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, an unescaped backtick in an OpenAPI path is emitted into request URL template literals generated for axios, fetch, react-query, and SWR clients without safe encoding. This permits attacker-controlled JavaScript to be evaluated when a generated request, URL-builder, or query-key function is called, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/core/src/getters/route.ts and route generation consumers. This issue is fixed in version 8.21.0.
Patch / fix
- npm orval 8.21.0
- orval orval 8.21.0
- github.com/orval-labs/orval@8ef1bfd commit
- github.com/orval-labs/orval#3692 pull request
- github.com/orval-labs/orval/releases/tag/v8.21.0 release
Is CVE-2026-62681 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
- 2mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/orval-labs/orval/security/advisories/GHSA-fg9p-mrxr-hvq7 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 | 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 | <8.21.0 |
8.21.0 |
Affected products
- orval-labs orval
Classification
References
-
github.com
/orval-labs/orval/pull/3692
web
-
github.com
/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6
web
-
github.com
/orval-labs/orval/security/advisories/GHSA-fg9p-mrxr-hvq7
exploit, web, advisory
-
github.com
/orval-labs/orval/releases/tag/v8.21.0
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-62681
advisory
-
github.com
/orval-labs/orval
package
Sources
- CVE List CVE-2026-62681
- GitHub Advisory GHSA-fg9p-mrxr-hvq7
- NVD CVE-2026-62681
- Maintainer advisory GHSA-fg9p-mrxr-hvq7
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.