CVE-2026-96758: orval @orval/core code injection in form-data serializer

CVE-2026-96758 · Severity: critical · CVSS 9.8 · Published 2026-09-23

Orval is a code generator that creates TypeScript API clients from OpenAPI specifications. A vulnerability in versions before 8.28.0 allows attackers to inject malicious code into OpenAPI schema property names that executes when generated client code builds FormData request bodies, potentially leading to arbitrary code execution with the privileges of the application consuming the client.

Vendors: Orval Labs.

Quick answers

Is CVE-2026-96758 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-96758 being exploited in the wild.
How severe is CVE-2026-96758?
Critical severity, with a CVSS score of 9.8, published 23 September 2026.
Which products and versions are affected?
Orval Labs @Orval/Core before 8.28.0.
Is there a fix for CVE-2026-96758?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-96758 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-96758?
Check whether you run Orval Labs @Orval/Core at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The form-data serializer in orval's code generation fails to escape multipart property names, allowing template literal injection via ${...} expressions in OpenAPI schema property names. When generated client code processes FormData bodies, these unescaped expressions are evaluated as live template interpolation. An attacker can craft a malicious OpenAPI schema to achieve remote code execution in the generated client during runtime.

Affected products

  • orval-labs @orval/core before 8.28.0

Timeline

  • 2026-09-23: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.