PT-2026-2296 · Orval · Orval
Nirhaas
·
Published
2026-01-12
·
Updated
2026-02-27
·
CVE-2026-22785
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
orval versions prior to 7.18.0
Description
orval generates type-safe JS clients (TypeScript) from OpenAPI specifications. Before version 7.18.0, the server generation logic in the MCP component used string manipulation on the
summary field from the OpenAPI specification without sufficient validation or escaping. This allows for the injection of arbitrary code by exploiting a string literal breakout. The summary field is a part of the OpenAPI specification used to provide a brief description of an operation.Recommendations
Update to version 7.18.0 or later.
Exploit
Fix
RCE
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Orval