Back
CVE-2026-96756
orval before 8.30.0 Code Injection via Factory Generation
Critical9.2EPSS 0.88%
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulnCheckCNA (assigner) | 4.0 | Critical9.2 | 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 |
| VulnCheckCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 4.0 | Critical9.2 | 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/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 |
- EPSS (exploitation in 30 days)
- 0.88% · top 41% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.2.
Weakness
Affected products
- affected < 8.30.0
- unaffected 8.30.0
References (6)
- GitHub Security Advisory (GHSA-wx66-36r6-v5g7) (opens in a new tab)vendor-advisory
- https://github.com/orval-labs/orval/pull/4038 (opens in a new tab)patchissue-tracking
- https://github.com/orval-labs/orval/commit/b9b083576943c683540200eb957feced57dddc1a (opens in a new tab)patch
- https://github.com/orval-labs/orval/blob/v8.29.0/packages/core/src/generators/factory.ts#L493 (opens in a new tab)technical-description
- https://github.com/orval-labs/orval (opens in a new tab)product
- VulnCheck Advisory: orval before 8.30.0 Code Injection via Factory Generation (opens in a new tab)third-party-advisory
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-96756)Record last updated .