Redocly CLI: Path traversal when using `split` command
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Redocly | redocly-cli | before 1.34.17; 2.0.0 to before 2.33.2 | 1.34.17, 2.33.2 | Patch available | CNA |
| — | @redocly/cli (npm) | before 1.34.17 | 1.34.17 | Patch available | GHSA-657c-g7qc-r9j2 |
| — | @redocly/cli (npm) | 2.0.0 to before 2.33.2 | 2.33.2 | Patch available | GHSA-657c-g7qc-r9j2 |
- redocly-cli VendorRedocly Affected before 1.34.17; 2.0.0 to before 2.33.2 Fixed in 1.34.17, 2.33.2 Patch available CNA
- @redocly/cli (npm) Vendor— Affected before 1.34.17 Fixed in 1.34.17 Patch available GHSA-657c-g7qc-r9j2
- @redocly/cli (npm) Vendor— Affected 2.0.0 to before 2.33.2 Fixed in 2.33.2 Patch available GHSA-657c-g7qc-r9j2
Remediation
- Fix · CNA redocly-cli (Redocly) Fixed in 1.34.17, 2.33.2
- Fix · GHSA-657c-g7qc-r9j2 @redocly/cli (npm) Fixed in 1.34.17 Advisory →
- Fix · GHSA-657c-g7qc-r9j2 @redocly/cli (npm) Fixed in 2.33.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63225
- 2026-10-03 Alias added: GHSA-657c-g7qc-r9j2
References
Other 8
- https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2
- https://github.com/Redocly/redocly-cli/pull/2891
- https://github.com/Redocly/redocly-cli/pull/2923
- https://github.com/Redocly/redocly-cli/commit/26a0f299fae0b3bb7bd513043d2f1e90e69f79ee
- https://github.com/Redocly/redocly-cli/commit/504120419a72b5c684471478337ee3b45d8bfad3
- https://github.com/Redocly/redocly-cli/releases/tag/@redocly/[email protected]
- https://github.com/Redocly/redocly-cli/releases/tag/@redocly/[email protected]
- https://github.com/Redocly/redocly-cli
More Redocly vulnerabilities
- TI-2024-37791 A prototype pollution in the component Module.mergeObjects (redoc/bundles/redoc.lib.js:2)… CVSS 3.1HIGH 7.5
- TI-2026-45160 Redocly CLI: Arbitrary code execution via Arazzo `$faker` expression using `respect` CVSS 3.1HIGH 7.8
Sources
- CVE-2026-63225 · CVE Program
- CVE-2026-63225 · NVD
- FIRST EPSS
- GHSA-657c-g7qc-r9j2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences