CVE-2026-62680
HIGH 7.1CVSS 3.1Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref
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.
- Published
- 19 Aug 2026
- Last modified
- 9 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-829CWE-918
- Also known as
- GHSA-cxq5-97v7-87j8
- Sources
- NVDJSONOSV GHSA-cxq5-97v7-87j8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | orval | < 8.22.0 | 8.22.0 |
References
- https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10 · WEB
- https://github.com/orval-labs/orval/pull/3723 · WEB
- https://github.com/orval-labs/orval/releases/tag/v8.22.0 · WEB
- https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-62680 · ADVISORY
- https://github.com/orval-labs/orval/pull/3692 · WEB
- https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6 · WEB
- https://github.com/orval-labs/orval · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Sep 2026)