Skip to main content
← All vulnerabilities
CVE-2026-62680GHSA-CXQ5-97V7-87J8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.22.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • orval-labs orval

    fixed in 8.22.0

  • orvalnpm

    fixed in 8.22.0

References 4

GitHub · orval-labs/orval