CVE-2026-96755: Improper Control of Generation of Code ('Code Injection') in orval-labs orval
orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.
AI Analysis
Technical Summary
CVE-2026-96755 is a code injection vulnerability affecting orval versions 8.14.0 through 8.28.1. The flaw exists in the @orval/effect generator component that converts OpenAPI schema defaults into template literals. If an attacker supplies schema defaults containing JavaScript expressions within ${...} syntax, these expressions are executed at module scope when the generated code is built or imported, enabling arbitrary code execution.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code at module scope during code generation or import, potentially leading to full compromise of the build environment or runtime context. The CVSS 4.0 score of 9.3 reflects critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted OpenAPI schema defaults that may contain malicious ${...} expressions in orval versions 8.14.0 through 8.28.1. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-96755: Improper Control of Generation of Code ('Code Injection') in orval-labs orval
Description
orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.
CVSS v4.0
Score 9.3critical
Affected software
orval-labs
orval
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-96755 is a code injection vulnerability affecting orval versions 8.14.0 through 8.28.1. The flaw exists in the @orval/effect generator component that converts OpenAPI schema defaults into template literals. If an attacker supplies schema defaults containing JavaScript expressions within ${...} syntax, these expressions are executed at module scope when the generated code is built or imported, enabling arbitrary code execution.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code at module scope during code generation or import, potentially leading to full compromise of the build environment or runtime context. The CVSS 4.0 score of 9.3 reflects critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted OpenAPI schema defaults that may contain malicious ${...} expressions in orval versions 8.14.0 through 8.28.1. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-23T15:58:25.066Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab402dcf7a7c541060ee0da
Added to database: 09/23/2026, 16:48:28 UTC
Last enriched: 09/23/2026, 17:03:06 UTC
Last updated: 09/24/2026, 02:49:59 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.