{"answers":{"affected":"4 open source packages ship an affected version, including @redocly/cli.","exploited":"There is no known exploitation of CVE-2026-63225 in the wild and no public exploit code.","fix":"Upgrade @redocly/cli to a fixed version for your release line: 1.34.17 or 2.33.2.","what":"CVE-2026-63225 is a medium-severity path traversal vulnerability in redocly-cli, published on 16 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-63225 and fix it if it is affected.\n\nWhat it is: CVE-2026-63225 is a medium-severity path traversal vulnerability in redocly-cli, published on 16 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-63225 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @redocly/cli (npm): affected all versions; fixed in 1.34.17\n- @redocly/cli (npm): affected all versions; fixed in 1.34.17\n- @redocly/cli (npm): affected from 2.0.0; fixed in 2.33.2\n- @redocly/cli (npm): affected from 2.0.0; fixed in 2.33.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-63225/ (Markdown: https://insights.sbomify.com/CVE-2026-63225/index.md)","id":"CVE-2026-63225","markdown":"https://insights.sbomify.com/CVE-2026-63225/index.md","name":"CVE-2026-63225","record":{"aliases":["GHSA-657c-g7qc-r9j2"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Redocly CLI","requires_auth":"none","summary":"Attackers can use crafted OpenAPI or AsyncAPI files to write or overwrite files outside the intended output directory via the split command.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Redocly CLI: Path traversal when using `split` command","id":"CVE-2026-63225","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"Server-side request forgery in Ricoh printers and Multifunction Printers (MFPs)","id":"CVE-2026-63226"},"packages":[{"ecosystem":"npm","fixed":["1.34.17"],"introduced":["0"],"last_affected":[],"package":"@redocly/cli","purl":null,"source":"GHSA-657c-g7qc-r9j2"},{"ecosystem":"npm","fixed":["1.34.17"],"introduced":["0"],"last_affected":[],"package":"@redocly/cli","purl":"pkg:npm/%40redocly/cli","source":"GHSA-657c-g7qc-r9j2"},{"ecosystem":"npm","fixed":["2.33.2"],"introduced":["2.0.0"],"last_affected":[],"package":"@redocly/cli","purl":null,"source":"GHSA-657c-g7qc-r9j2"},{"ecosystem":"npm","fixed":["2.33.2"],"introduced":["2.0.0"],"last_affected":[],"package":"@redocly/cli","purl":"pkg:npm/%40redocly/cli","source":"GHSA-657c-g7qc-r9j2"}],"prev":{"headline":"CodeIgniter: Uploaded file extension validation bypass in is_image and mime_in rules","id":"CVE-2026-63223"},"products":["redocly-cli"],"published":"2026-09-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["Redocly"]},"summary":"Attackers can use crafted OpenAPI or AsyncAPI files to write or overwrite files outside the intended output directory via the split command.","url":"https://insights.sbomify.com/CVE-2026-63225/"}