CVE-2026-22785

CRITICAL CVSS 4.0: 9.3 EPSS 0.78%
Updated Jan 13, 2026
orval
Parameter Value
CVSS 9.3 (CRITICAL)
Fixed In 7.18.0
Type CWE-77 (Command Injection)
Vendor orval
Public PoC No

orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Prior to 7.18.0, the MCP server generation logic relies on string manipulation that incorporates the summary field from the OpenAPI specification without proper validation or escaping. This allows an attacker to "break out" of the string literal and inject arbitrary code.

This vulnerability is fixed in 7.18.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)