Skip to content
OpenAdvisories
High · 7.1 CVE-2026-62680 EUVD-2026-62659GHSA-cxq5-97v7-87j8

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

Published Aug 19, 2026 · Updated Aug 19, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
orval-labs orval < 8.22.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm orval < 8.22.0 8.22.0 GHSA-cxq5-97v7-87j8

References