RCE in Orval-Labs Orval
CVE-2026-96756
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/orval-labs/orval/security/advisories/GHSA-wx66-36r6-v5g7 (vendor-advisory)
- github.com/orval-labs/orval/pull/4038 (issue-tracking, patch)
- github.com/orval-labs/orval/commit/b9b083576943c683540200eb957feced57dddc1a (patch)
- github.com/orval-labs/orval/blob/v8.29.0/packages/core/src/generators/factory.ts (technical-description)
- github.com/orval-labs/orval (product)
- www.vulncheck.com/advisories/orval-before-8.30.0-code-injection-via-factory-gen… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-96756?
- CVE-2026-96756 is a high-severity vulnerability in Orval-Labs Orval, classified under Code Injection. CVSS score: 8.1/10. Published 2026-09-23.
- How severe is CVE-2026-96756?
- High severity. CVSS v3 base score is 8.1 out of 10.