Skip to main content

Redocly CLI CVE-2026-63225

| EUVDEUVD-2026-81013 MEDIUM
Path Traversal (CWE-22)
2026-09-16 security-advisories@github.com GHSA-657c-g7qc-r9j2
4.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft OpenAPI spec with ../ in component name
  2. Exploit
    Victim runs redocly split --outDir
  3. Execution
    split resolves path outside outDir
  4. Impact
    Write/overwrite YAML or JSON file outside target dir

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an operator to run the '@redocly/cli' split command with an --outDir against an attacker-controlled OpenAPI or AsyncAPI specification whose component names or x-codeSamples lang values contain literal '../' path-traversal segments. Limiting factors: this is a local CLI operation (AV:L), no authentication is modeled but the victim must actively invoke split on the malicious file (UI:R), the affected version must be @redocly/cli < 2.33.2 (or the pre-1.34.17 1.x branch), and impact is bounded to writing/overwriting YAML/JSON files with non-attacker-controlled content - it cannot achieve arbitrary-content code drops. Realistic risk is concentrated in CI/CD or documentation pipelines that run split on externally sourced API definitions.

Impact

This is a genuine but low-severity issue, and all available signals agree. The vendor CVSS 3.1 vector (4.4, AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) correctly frames it as a LOCAL vulnerability that requires the victim to run the 'redocly split' command against an attacker-supplied OpenAPI/AsyncAPI document (UI:R). There is no network exposure - the CLI processes a spec file the operator chose to feed it. No EPSS score is provided in the input, there is no CISA KEV listing, and no public weaponized exploit was identified (the fix ships internal PoC test fixtures, but those are not a distributed exploit). Technical impact is deliberately constrained: the description states written content is limited to YAML/JSON and code-sample filenames are derived from the HTTP method, so this is NOT an unrestricted arbitrary-content file write - hence C:N and only I:L/A:L (attacker can place or overwrite files outside --outDir but cannot fully control their contents). No metrics are missing or conflicting; the vector is internally consistent with the description. Bottom line: real defect, correctly patched, but low real-world priority - dangerous mainly in CI/automation pipelines that run split on untrusted specs.

Exploit ScenarioDerived

An attacker publishes or submits a malicious OpenAPI/AsyncAPI document whose component name (or x-codeSamples lang value) contains literal '../' traversal segments. A developer or CI pipeline runs 'redocly split --outDir ...' on that document, causing the tool to write or overwrite a YAML/JSON file at a path outside the intended output directory. No public exploit code exists, but the vendor commit includes proof-of-concept fixture specs (e.g. a schema named '../../../../../../tmp/redocly_escaped') demonstrating the escape.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Path traversal in the Redocly CLI split command (@redocly/cli prior to 2.33.2, and the 1.x line prior to 1.34.17) lets a crafted OpenAPI or AsyncAPI document place or overwrite YAML/JSON files outside the directory supplied to --outDir. The command derives output filenames from untrusted component names, path keys, and x-codeSamples lang values without confirming the resolved target stays inside the chosen directory, so literal ../ segments in those fields escape the output tree. Impact is deliberately bounded - content is limited to YAML/JSON and code-sample filenames stay based on the HTTP method - yielding an integrity-only file write rated CVSS 4.4 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L), with unauthenticated (PR:N) exploitation that nonetheless requires a victim to run split on the malicious spec; no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to @redocly/cli 2.33.2 (or later 2.x) if you are on the 2.x line, or to @redocly/cli 1.34.17 (or later) if you are pinned to 1.x - both are tagged releases referenced from the advisory at https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2, and the guardrail logic is visible in https://github.com/Redocly/redocly-cli/pull/2891 and https://github.com/Redocly/redocly-cli/pull/2923. If upgrading must be deferred, the practical compensating controls are: stop running split against API definitions you did not author - treat externally sourced specs as untrusted input and review them for ../ sequences in component keys, path/channel names, and x-codeSamples lang values before splitting, at the cost of a manual review step that is easy to skip for large specifications; run the command inside a throwaway container or CI job whose working tree is the only writable location (read-only mounts elsewhere, unprivileged user, no access to home directories or config paths), which contains the escape to disposable storage but does not prevent the overwrite itself; and restrict the filesystem permissions of the account executing the CLI so targets outside the intended output directory are not writable, accepting that this may break legitimate out-of-tree writes. Note that upgrading is the only control that removes the flawed path construction rather than bounding its blast radius, and that renaming or sanitizing component names before invocation is a viable manual workaround but must be applied consistently across every split input.

Affected VersionsENISA

redocly-cli 2.0.0, < 2.33.2
redocly-cli < 1.34.17

Affected Packages

npm @redocly/cli fix: 1.34.17, 2.33.2
euvd redocly_cli fix: 1.34.17, 2.33.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Redocly CLI split command decomposes a single OpenAPI or AsyncAPI definition into a directory tree of smaller files, computing each output path by joining --outDir with names taken from the document itself: schema/component keys, channel, operation and path names, and x-codeSamples lang values, with user-selectable separators. Because those names are attacker-controlled and were concatenated without canonicalization, a key such as ../../../../../../tmp/redocly_escaped resolved to a location above the intended output directory - the classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. The upstream fix introduces an assertWithinDir guard (packages/cli/src/commands/split/utils/assert-within-dir.ts) that resolves the candidate path and throws a HandledError when it falls outside the target directory, and wires it into the AsyncAPI channel, component and operation iterators so no file is written on a failed check; regression tests cover .. escapes and also confirm that benign names merely beginning with dots (e.g. ..foo.yaml) and sibling directories sharing a name prefix are handled correctly. Two release branches are affected: the 2.x line before 2.33.2 and the 1.x line before 1.34.17. The CVSS vector AV:L reflects that this is a local command-line operation rather than a network service, UI:R reflects that the operator must actively run the command against the hostile specification, and S:U/C:N/I:L/A:L reflects that exploitation cannot leak data and can only overwrite files with structured YAML/JSON content of limited attacker control.

Know when TypeScript gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 4.4 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
vuln.today AI 4.4 MEDIUM

Local CLI processing of an attacker-supplied spec the victim must choose to split (AV:L/UI:R); no read impact (C:N) and only constrained file overwrite outside outDir (I:L/A:L).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

1
Patch available
Sep 16, 2026 - 20:18 EUVD

DescriptionCVE.org

Redocly CLI makes OpenAPI validation, linting, and documentation workflows easier. Prior to @redocly/cli 2.33.2, the split command constructs output paths under --outDir from untrusted OpenAPI or AsyncAPI component names and x-codeSamples lang values without verifying that the resolved target remains inside the selected directory. A description containing literal ../ traversal segments in those fields can cause the split command to place or overwrite files outside --outDir. Component data remains constrained to YAML or JSON, and code-sample filenames remain based on the HTTP method, so this is not an unrestricted arbitrary-content file write. This issue is fixed in @redocly/cli version 2.33.2.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
Popular OpenAPI/AsyncAPI tooling npm package, but split-command and untrusted-spec scoped
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-92812 CRITICAL POC
9.3 Sep 16

Path traversal in decap-server 3.10.0 and earlier lets unauthenticated remote attackers read, write, and delete files in

CVE-2026-46649 CRITICAL POC
9.1 Sep 21

Joplin Server instances prior to 3.7.2 expose an SSO login-code redemption endpoint (GET /api/login_with_code/:id) that

CVE-2026-63506 HIGH POC
8.8 Sep 16

Cross-tenant authorization bypass in TinaCMS self-hosted deployments allows any holder of a legitimate TinaCloud account

CVE-2026-63116 HIGH POC
8.8 Sep 21

Authenticated clients on deepstream.io 10.1.0 can bypass record-write authorization and modify arbitrary protected recor

CVE-2026-102911 HIGH POC
8.6 Sep 30

OS command injection in zosmaai's pi-llm-wiki through 0.11.7 lets an attacker who can invoke the wiki_capture_source MCP

CVE-2026-102281 HIGH POC
7.5 Sep 28

A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras

CVE-2026-63627 MEDIUM POC
6.9 Sep 22

Fee-sponsoring servers built on mppx before 0.8.2 can be induced by any client with access to the sponsorship endpoint t

CVE-2026-57138 CRITICAL
9.9 Sep 15

Code escaping sandbox in the PraisonAI npm package's built-in codeMode tool (praisonai 1.4.0 through 1.7.1) lets anyone

CVE-2026-54460 CRITICAL
9.8 Sep 17

Unauthenticated passkey enrollment in OpenReception appointment-booking software prior to 1.1.1 lets remote attackers in

CVE-2026-51996 CRITICAL
9.8 Sep 24

A credential-isolation flaw in geelen mcp-remote 0.1.16 through 0.1.38 allows a remote attacker who controls or can pred

CVE-2026-88404 CRITICAL
9.8 Sep 21

Remote code execution affects Univer v1.0.0-alpha.2 through its Uniscript feature: the UniscriptExecutionService.execute

CVE-2026-86059 CRITICAL
9.6 Sep 22

Dokploy instances running versions prior to 0.29.13 disclose stored Git provider secrets - GitHub App private keys, OAut

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy