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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T17:42:11.227Z
- Modified: 2026-09-09T21:20:38.860Z
- Also known as: GHSA-cxq5-97v7-87j8
- Weaknesses: CWE-22, CWE-829, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- orval-labs orval: < 8.22.0
- orval (npm): before 8.22.0

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`

## References

- <https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8> (exploit, web)
- <https://github.com/orval-labs/orval/pull/3723> (web)
- <https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10> (web)
- <https://github.com/orval-labs/orval/releases/tag/v8.22.0> (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)

## Sources

- CVE List: [CVE-2026-62680](https://www.cve.org/CVERecord?id=CVE-2026-62680), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-cxq5-97v7-87j8](https://github.com/advisories/GHSA-cxq5-97v7-87j8), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-62680](https://nvd.nist.gov/vuln/detail/CVE-2026-62680), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-62680 · Whole record: https://cve.day/CVE-2026-62680.json · Rebuilt by cve.day 2026-11-25T22:59:33.991Z
