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.

INFO

Published Date :

2026-01-12T18:43:16.637Z

Last Modified :

2026-01-12T18:56:50.902Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2026-22785 vulnerability.

Vendors Products
Orval-labs
  • Orval
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2026-22785.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability