Vulnerability · Published Aug 19, 2026 · Assigned by GitHub_M

CVE-2026-62680Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref

High 7.1

In plain English

A high-severity path traversal in orval from orval-labs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.4%top 65.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmorval8.22.0GHSA-cxq5-97v7-87j8

Affected products (as reported)

VendorProductVersions
orval-labs orval < 8.22.0

Weakness: CWE-22, CWE-829, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

References