Read the docs
TI-2026-45102 Aliases CVE-2026-63225GHSA-657c-g7qc-r9j2

Redocly CLI: Path traversal when using `split` command

Priority LOW 20CWE-22Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00179 7th percentileScored 2026-11-07
Fix Fixed redocly-cli (Redocly): 1.34.17, 2.33.2@redocly/cli (npm): 1.34.17, 2.33.2

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

VendorProductAffected versionsFixed inStatusSource
Redoclyredocly-clibefore 1.34.17; 2.0.0 to before 2.33.21.34.17, 2.33.2Patch availableCNA
—@redocly/cli (npm)before 1.34.171.34.17Patch availableGHSA-657c-g7qc-r9j2
—@redocly/cli (npm)2.0.0 to before 2.33.22.33.2Patch availableGHSA-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

  1. 2026-10-02 Threatist record created from CVE-2026-63225
  2. 2026-10-03 Alias added: GHSA-657c-g7qc-r9j2

References

  • 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