CVE-2026-62680
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
orvalnpm | < 8.22.0 | 8.22.0 |
Affected products
1- Range: <8.22.0
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-cxq5-97v7-87j8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-62680ghsaADVISORY
- github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10nvdWEB
- github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6ghsaWEB
- github.com/orval-labs/orval/pull/3692ghsaWEB
- github.com/orval-labs/orval/pull/3723nvdWEB
- github.com/orval-labs/orval/releases/tag/v8.22.0nvdWEB
- github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8nvdWEB
News mentions
0No linked articles in our index yet.