{"id":"CVE-2026-62680","summary":"Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref","details":"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.","aliases":["GHSA-cxq5-97v7-87j8"],"modified":"2026-09-11T03:30:37.876040454Z","published":"2026-08-19T17:42:11.227Z","database_specific":{"cwe_ids":["CWE-22","CWE-829","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62680.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/orval-labs/orval/releases/tag/v8.22.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62680.json"},{"type":"ADVISORY","url":"https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62680"},{"type":"FIX","url":"https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10"},{"type":"FIX","url":"https://github.com/orval-labs/orval/pull/3723"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/orval-labs/orval","events":[{"introduced":"0"},{"fixed":"23786c056f4eba38c02bf2968677988dbbe4de10"},{"fixed":"fd59f4168d97f6cf9867095a34df0502e1050b6d"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"8.22.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v8.21.0","v8.20.0","v8.19.0","v8.18.0","v8.17.0","v8.16.0","v8.15.0","v8.14.0","v8.13.0","v8.12.3","v8.12.2","v8.12.1","v8.11.0","v8.10.0","v8.9.1","v8.9.0","v8.8.1","v8.8.0","v8.7.0","v8.6.2","v8.6.1","v8.6.0","v8.5.3","v8.5.2","v8.5.1","v8.5.0","v8.4.2","v8.4.1","v8.4.0","v8.3.0","v8.2.0","v8.0.3","v8.0.2","v8.0.1","v8.0.0","v8.0.0-rc.6","v8.0.0-rc.5","v8.0.0-rc.4","v8.0.0-rc.3","v8.0.0-rc.2","v7.15.0","v8.0.0-rc.1","v8.0.0-rc.0","v7.14.0","v7.13.2","v7.13.1","v7.13.0","v7.12.2","v7.12.1","v7.12.0","v7.11.2","v7.11.1","v7.11.0","v7.10.0","v7.9.0","v7.8.0","v7.7.0","v7.6.0","v7.5.0","v7.4.1","v7.4.0","v7.3.0","v7.2.0","v7.1.1","v7.1.0","v7.0.1","v7.0.0","v6.31.0","v6.30.2","v6.30.1","v6.30.0","v6.29.1","v6.29.0","v6.28.2","v6.28.1","v6.28.0","v6.27.1","v6.27.0","v6.26.0","v6.25.0","v6.24.0","v6.23.0","v6.22.1","v6.22.0","v6.21.0","v6.20.0","v6.19.1","v6.19.0","v6.18.1","v6.18.0","v6.17.0","v6.16.0","v6.15.0","v6.14.4","v6.14.3","v6.14.2","v6.14.1","v6.14.0","v6.13.1","v6.13.0","v6.12.1","v6.12.0","v6.11.1","v6.11.0","v6.10.3","v6.10.2","v6.9.6","v6.9.5","v6.9.4","v6.9.3","v6.9.2","v6.9.1","v6.9.0","v6.8.1","v6.8.0","v6.7.1","v6.7.0","v6.6.4","v6.6.3","v6.6.2","v6.6.1","v6.6.0","v6.5.3","v6.5.2","v6.5.1","v6.5.0","v6.4.3","v6.4.2","v6.4.1","v6.4.0","v6.3.0","v6.2.3","v6.2.2","v6.2.1","v6.2.0","v6.1.2","v6.1.1","v6.1.0","v6.0.4","v6.0.3","v6.0.2","v6.0.1","v6.0.0","v5.5.0","v5.4.14","v5.4.13","v5.4.12","v5.4.11","v5.4.10","v5.4.9","v5.4.8","v5.4.7","v5.4.6","v5.4.5","v5.4.4","v5.4.3","v5.4.2","v5.4.1","v5.4.0","v5.3.2","v5.3.1","v5.3.0","v5.2.0","v5.1.4","v5.1.3","v5.1.2","v5.1.1","v5.1.0","v5.0.0","v4.2.0","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.9","v3.1.8","v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.6.0","v2.5.9","v2.5.8","v2.5.7","v2.5.6","v2.5.5","v2.5.4","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.2","v2.2.1","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62680.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}]}