CVE-2026-62680

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

State
Published
Severity
7.1 High
Published
Aug 19, 2026
Updated
Aug 19, 2026
Reserved
Jul 14, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere
  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
orvalorval-labs
  • < 8.22.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.