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.
Published: 2026-09-23
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Code Execution During Client Generation
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in orval/core allows injected expressions inside OpenAPI schema property names to be executed when the client code is generated. The serializer fails to escape multipart property names in generated template literals, enabling an attacker to embed `${...}` expressions that interpolate at build time, leading to arbitrary code execution with the privileges of the consumer process.

Affected Systems

All installations of the orval/labs/orval product using orval/core prior to version 8.28.0 are affected. The issue exists in all releases of orval/core with versions earlier than 8.28.0 regardless of the environment in which the client is generated.

Risk and Exploitability

The CVSS score of 9.3 classifies this as a critical flaw. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers are likely to exploit this flaw by introducing a malicious OpenAPI schema that contains crafted property names with `${...}` expressions into a build pipeline or a developer’s local environment. Once the client is generated and the FormData bodies are constructed in the consumer process, the malicious code will execute with the rights of that process, potentially compromising the entire build or runtime environment.

Generated by OpenCVE AI on September 23, 2026 at 17:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade orval to version 8.28.0 or later, which contains the necessary escaping logic for multipart property names.
  • Validate or sanitize all OpenAPI schemas before feeding them into the client generation step, ensuring that property names do not contain unescaped `${` sequences or other interpolation markers.
  • Restrict the source of OpenAPI specifications in automated build pipelines to trusted internal repositories or signed artifacts, and review any external schemas for malicious content before use.

Generated by OpenCVE AI on September 23, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Orval-labs
Orval-labs orval
Vendors & Products Orval-labs
Orval-labs orval

Wed, 23 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title orval @orval/core before 8.28.0 Code Injection via Form-Data
First Time appeared Orval
Orval orval
Weaknesses CWE-94
CPEs cpe:2.3:a:orval:orval:*:*:*:*:*:*:*:*
Vendors & Products Orval
Orval orval
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-23T18:39:05.559Z

Reserved: 2026-09-23T15:58:31.321Z

Link: CVE-2026-96758

cve-icon Vulnrichment

Updated: 2026-09-23T18:38:39.839Z

cve-icon NVD

Status : Deferred

Published: 2026-09-23T17:17:25.083

Modified: 2026-09-23T19:19:54.890

Link: CVE-2026-96758

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T19:00:07Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')