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.
CVE-2026-96756
Score 8.1 from GitHub Security Advisory (severity: CRITICAL) published 2026-09-23. a secondary CVSS source baseline 8.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.1
- EG Score
- 8.1(high)
- EG Risk
- 36(Track)EG Risk 36/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
Published
September 23, 2026
Last Modified
September 23, 2026
Advisory Details (6)
Auto-updated Sep 23, 2026orval before 8.30.0 Code Injection via Factory Generation | Advisories | VulnCheck
https://www.vulncheck.com/advisories/orval-before-8.30.0-code-injection-via-factory-generationGitHub - orval-labs/orval: orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺 · GitHub
https://github.com/orval-labs/orvalorval/packages/core/src/generators/factory.ts at v8.29.0 · orval-labs/orval · GitHub
https://github.com/orval-labs/orval/blob/v8.29.0/packages/core/src/generators/factory.ts#L493commit b9b083576943 (orval-labs/orval)
Patch available: orval-labs/orval v8.30.0 (contains commit b9b083576943)
https://github.com/orval-labs/orval/commit/b9b083576943c683540200eb957feced57dddc1afix: escape date defaults in generated factories (GHSA-wx66-36r6-v5g7)
Patch available: orval-labs/orval v8.30.0 (PR #4038 merged 2026-09-07)
https://github.com/orval-labs/orval/pull/4038Code injection through date defaults in generated factory methods · Advisory · orval-labs/orval · GitHub
https://github.com/orval-labs/orval/security/advisories/GHSA-wx66-36r6-v5g7Vendor Advisories for CVE-2026-96756(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 7× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-23 20:23 UTCEG score recompute
- 2026-09-23 20:23 UTCGHSA enrichment
- 2026-09-23 19:53 UTCEG score recompute
- 2026-09-23 19:53 UTCGHSA enrichment
- 2026-09-23 17:18 UTCEG score recompute
- 2026-09-23 16:40 UTCEG score recompute
- 2026-09-23 16:39 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
Frequently asked(4)
What is CVE-2026-96756?
When was CVE-2026-96756 disclosed?
What is the CVSS score of CVE-2026-96756?
How do I remediate CVE-2026-96756?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-96756
Is Your Infrastructure Affected by CVE-2026-96756?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.