Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
Summary
| CVE | CVE-2026-62680 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-19 18:16:54 UTC |
| Updated | 2026-08-19 18:16:54 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
EPSS: 0.003090000 probability, percentile 0.237300000 (date 2026-08-20)
Problem Types: CWE-22 | CWE-829 | CWE-918 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere | CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Orval-labs | Orval | affected < 8.22.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/orval-labs/orval/pull/3723 | [email protected] | github.com | |
| github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10 | [email protected] | github.com | |
| github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/orval-labs/orval/releases/tag/v8.22.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.