CVE-2026-62680

Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.22.0, Orval resolves remote and local external $ref values without an allowlist or confinement to the input directory. Processing an attacker-controlled OpenAPI description can cause requests from the developer or CI host to attacker-selected or internal HTTP services, read absolute or out-of-tree local files, and inline untrusted remote schemas into generated clients. The affected code is packages/orval/src/import-specs.ts external reference loading. This issue is fixed in version 8.22.0.
Configurations

No configuration.

History

No history.

Information

Published : 2026-08-19 18:16

Updated : 2026-09-09 21:20


NVD link : CVE-2026-62680

Mitre link : CVE-2026-62680

CVE.ORG link : CVE-2026-62680


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-829

Inclusion of Functionality from Untrusted Control Sphere

CWE-918

Server-Side Request Forgery (SSRF)