CVE-2026-96755orval-labs orval
Code injection in orval @orval/effect generator
Critical 9.3 No auth needed
Follow: this CVE · orval-labs · orval-labs orval We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 23, 2026
- Updated
- Sep 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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
What happens
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. An unauthenticated attacker can inject arbitrary JavaScript expressions via schemas with ${...} syntax, which execute at module scope when the generated code is built or imported.
Show the original NVD text
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.
What to do
Patch available
Update orval to version 8.28.2 or later to apply the security patch.
- Apply the vendor's security update for orval.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- orval-labs · orval
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.