Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-62680: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in orval-labs orval

0
High
VulnerabilityCVE-2026-62680cvecve-2026-62680cwe-22cwe-829cwe-918
Published: 08/19/2026 (08/19/2026, 17:42:11 UTC)
Source: CVE Database V5
Vendor/Project: orval-labs
Product: orval

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.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected software

Affected versions
<8.22.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 18:22:30 UTC

Technical Analysis

Orval, a tool generating type-safe JavaScript clients from OpenAPI and Swagger specifications, improperly limits pathname resolution for external $ref values prior to version 8.22.0. This lack of confinement or allowlisting allows an attacker to craft malicious OpenAPI descriptions that cause the tool to read arbitrary local files outside the intended directory or make requests to internal or attacker-controlled HTTP services. The vulnerability is located in the external reference loading code within packages/orval/src/import-specs.ts. The issue is addressed in Orval version 8.22.0.

Potential Impact

An attacker who can supply a malicious OpenAPI specification to Orval can cause the tool to read arbitrary local files or access internal HTTP services during client generation. This can lead to disclosure of sensitive information (confidential files) and inclusion of untrusted remote schemas in generated clients. The vulnerability has a CVSS score of 7.1, indicating high severity with high confidentiality impact, low integrity impact, and no availability impact.

Mitigation Recommendations

Upgrade Orval to version 8.22.0 or later, where this path traversal vulnerability is fixed by restricting external $ref resolution to prevent unauthorized file and network access. Patch status is confirmed fixed in 8.22.0. Until upgrading, avoid processing untrusted OpenAPI specifications with Orval.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-14T20:22:04.395Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a85f0f8acd9273b496dcaec

Added to database: 08/19/2026, 18:07:52 UTC

Last enriched: 08/19/2026, 18:22:30 UTC

Last updated: 08/19/2026, 23:18:45 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses