CVE-2026-96758: Improper Control of Generation of Code ('Code Injection') in orval-labs orval
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.
AI Analysis
Technical Summary
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.
CVE-2026-96758: Improper Control of Generation of Code ('Code Injection') in orval-labs 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
Affected software
orval-labs
orval
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.