Vulnerability · Published Sep 23, 2026 · Assigned by VulnCheck
CVE-2026-96756orval before 8.30.0 Code Injection via Factory Generation
High 8.1
In plain English
A high-severity code injection in orval from orval-labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.9%top 40.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| orval-labs | orval | 0 – before 8.30.0 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-wx66-36r6-v5g7) vendor-advisory
- https://github.com/orval-labs/orval/pull/4038 patch, issue-tracking
- https://github.com/orval-labs/orval/commit/b9b083576943c683540200eb957feced57dddc1a patch
- https://github.com/orval-labs/orval/blob/v8.29.0/packages/core/src/generators/factory.ts#L493 technical-description
- https://github.com/orval-labs/orval product
- VulnCheck Advisory: orval before 8.30.0 Code Injection via Factory Generation third-party-advisory