Skip to main content

CVE-2026-96756: Improper Control of Generation of Code ('Code Injection') in orval-labs orval

0
Critical
VulnerabilityCVE-2026-96756cvecve-2026-96756
Published: 09/23/2026 (09/23/2026, 16:23:53 UTC)
Source: CVE Database V5
Vendor/Project: orval-labs
Product: orval

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.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

orval-labs

orval

Affected versions
>=0 <8.30.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 17:03:01 UTC

Technical Analysis

CVE-2026-96756 is a code injection vulnerability affecting orval versions prior to 8.30.0. The vulnerability exists in the @orval/core factory generator component, which fails to properly escape date default values when using new Date() calls. Attackers can exploit this by injecting malicious expressions through apostrophes in OpenAPI schema default values. Successful exploitation requires that the factoryMethods and useDates options are enabled, resulting in arbitrary code execution with the privileges of the process consuming the orval library.

Potential Impact

An attacker can execute arbitrary code within the context of the consumer process using orval, potentially leading to full compromise of the affected system or application. The vulnerability has a CVSS 4.0 score of 9.2, indicating critical severity with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fixed version 8.30.0 of orval is available that addresses this code injection vulnerability. Users should upgrade to version 8.30.0 or later to remediate this issue. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-23T15:58:25.631Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab402dcf7a7c541060ee0db

Added to database: 09/23/2026, 16:48:28 UTC

Last enriched: 09/23/2026, 17:03:01 UTC

Last updated: 09/24/2026, 02:01:05 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses