CVE-2026-62680
Prior to 8.22.0, Orval resolves remote and local external $ref values without an allowlist or confinement to the input directory.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.31%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
- EPSS
- 0.31% probability · 24th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22, CWE-829, CWE-918
- Source
- security-advisories@github.com
References
- https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10
- https://github.com/orval-labs/orval/pull/3723
- https://github.com/orval-labs/orval/releases/tag/v8.22.0
- https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8
- https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.