VULNERABILITY INTELLIGENCE
CVE-2026-22785
CVSS score9.8 CRITICAL
EPSS probability0.78%
CISA KEVNot currently listed
Published2026-01-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- security-advisories@github.com: CWE-77
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Exploit, Vendor Advisory