# CVE-2026-63225: Redocly CLI: Path traversal when using \`split\` command

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-22, CWE-73
- **Aliases:** GHSA-657c-g7qc-r9j2
- **Published:** 2026-09-16T19:09:00.593Z
- **Modified:** 2026-09-30T17:51:36.337Z

## Who should check

- Projects that depend on npm package @redocly/cli (\< 1.34.17)
- Anyone running redocly-cli \< 1.34.17; \>= 2.0.0, \< 2.33.2

## Description

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.

## Affected and fixed versions

- npm `@redocly/cli`: affected \< 1.34.17; fixed 1.34.17, 2.33.2 (osv)
- redocly-cli: \< 1.34.17; \>= 2.0.0, \< 2.33.2 (cvelist)

## Mitigation

- Upgrade @redocly/cli to one of 1.34.17, 2.33.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63225. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63225.md
Affected: @redocly/cli < 1.34.17
Fixed in: 1.34.17, 2.33.2

Steps:
1. Search this machine and project for @redocly/cli (npm), redocly-cli: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63225 being exploited?

There is no confirmed exploitation: CVE-2026-63225 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-63225?

Medium: CVSS 4.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-63225?

@redocly/cli \< 1.34.17.

### Is there a fix for CVE-2026-63225?

Yes. Fixed in 1.34.17, 2.33.2. Upgrade @redocly/cli to one of 1.34.17, 2.33.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-63225?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-63225>
- patch: <https://github.com/Redocly/redocly-cli/pull/2891>
- patch: <https://github.com/Redocly/redocly-cli/pull/2923>
- patch: <https://github.com/Redocly/redocly-cli/commit/26a0f299fae0b3bb7bd513043d2f1e90e69f79ee>
- patch: <https://github.com/Redocly/redocly-cli/commit/504120419a72b5c684471478337ee3b45d8bfad3>
- other: <https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@1.34.17>
- other: <https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@2.33.2>
- other: <https://github.com/Redocly/redocly-cli>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63225>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-657c-g7qc-r9j2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-63225> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63225>
