CVE-2026-22785
CVE-2026-22785 · orval MCP client is vulnerable to a code injection attack.
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 9.3 · Critique · EPSS 0,8% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
orval
- Versions du logiciel
- < 7.18.0: Concernée
Aucun correctif publié
@orval/mcp npm
- Plages de versions concernées
- SEMVER: < 7.18.0
Mettez à jour vers 7.18.0