CVE-2026-62680orval-labs orval
High 7.1 No auth needed
Follow: this CVE · orval-labs · orval-labs orval We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.1
- EPSS
- —
- Auth required
- No
- Published
- Aug 19, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for orval.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | orval |
< 8.22.0 |
8.22.0 |
npm install orval@8.22.0 |
Per OSV / GitHub Advisories (GHSA-cxq5-97v7-87j8). Check the version in your lockfile before upgrading.
Affected products
- orval-labs · orval
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.