cvedb.io
CVE-2026-22785
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2026-01-12T19:16:04.287 · Last modified 2026-06-17T10:20:25.400

Summary

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.

Affected products

orval — orval

Does this affect you?

Add your gear to cvedb and we'll alert you only when orval ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.