High severity · published Aug 19, 2026
CVE-2026-62680
Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
7.1
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 34% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OR
orval · orval-labs
< 8.22.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-62680
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-62680
github.com
https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10
github.com
https://github.com/orval-labs/orval/pull/3723
github.com
https://github.com/orval-labs/orval/releases/tag/v8.22.0
github.com
https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8
More from orval
9.8
CVE-2026-96759
orval before 8.29.0 Code Injection via operationId
9.8
CVE-2026-96758
orval @orval/core before 8.28.0 Code Injection via Form-Data
9.8
CVE-2026-96757
orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
9.8
CVE-2026-96755
orval @orval/effect 8.14.0 through 8.28.1 Code Injection
9.8
CVE-2026-96754
orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path
