CVE-2026-96756
9.2critical
orval before 8.30.0 Code Injection via Factory Generation
- Severity
- 9.2critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.88% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
orval versions before 8.30.0 contain a code injection vulnerability in the @orval/core factory generator that fails to escape date default values in new Date() calls. Attackers can inject arbitrary expressions through apostrophes in OpenAPI schema defaults to execute code with the privileges of the consumer process when factoryMethods and useDates options are enabled.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| orval-labs orval | before 8.30.0 Not affected: 8.30.0 | CVE List |
All scores
| VulnCheck | 9.2critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-96756 changed 2026-09-23 | CVE Terms of Use |
| NVD | CVE-2026-96756 changed 2026-09-23 | Public domain |