Skip to main content

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

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

Description

orval @orval/core before 8.28.0 contains a code injection vulnerability in the form-data serializer that fails to escape multipart property names in generated template literals. Attackers can inject ${...} expressions into OpenAPI schema property names that execute as live interpolation when the generated client builds FormData bodies with consumer process privileges.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
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:N/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.28.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 17:02:50 UTC

Technical Analysis

The orval package before version 8.28.0 contains a code injection vulnerability due to improper escaping of multipart property names in the form-data serializer. Attackers can inject ${...} expressions into OpenAPI schema property names, which are then executed as live interpolations when the generated client builds FormData bodies. This vulnerability allows code execution in the context of the consumer process, posing a critical security risk.

Potential Impact

Successful exploitation enables an attacker to execute arbitrary code with the privileges of the process generating the client, potentially leading to full compromise of the affected environment. The vulnerability is remotely exploitable without authentication and requires no user interaction, increasing its severity.

Mitigation Recommendations

Upgrade orval to version 8.28.0 or later where this vulnerability is fixed. Patch status is confirmed by the versioning information indicating the fix in 8.28.0. Until upgrading, avoid processing untrusted OpenAPI schemas that could contain malicious property names.

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:31.321Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab402dcf7a7c541060ee0dd

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

Last enriched: 09/23/2026, 17:02:50 UTC

Last updated: 09/24/2026, 01:57:04 UTC

Views: 12

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