{"answers":{"affected":"2 open source packages ship an affected version, including @capgo/cli.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56236 exists.","fix":"Upgrade @capgo/cli to 7.84.6 or later.","what":"CVE-2026-56236 is a medium-severity path traversal vulnerability in capgo cli, published on 21 Jun 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-56236 and fix it if it is affected.\n\nWhat it is: CVE-2026-56236 is a medium-severity path traversal vulnerability in capgo cli, published on 21 Jun 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56236 exists.\n\nAffected packages and fixed versions:\n- @capgo/cli (npm): affected all versions; fixed in 7.84.6\n- @capgo/cli (npm): affected all versions; fixed in 7.84.6\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-56236/ (Markdown: https://insights.sbomify.com/CVE-2026-56236/index.md)","id":"CVE-2026-56236","markdown":"https://insights.sbomify.com/CVE-2026-56236/index.md","name":"CVE-2026-56236","record":{"aliases":["GHSA-4ch8-prch-6prf","GHSA-8mpm-q7mh-8fvh"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Capgo CLI","requires_auth":"none","summary":"Attackers can overwrite arbitrary files or expose credentials via malicious symlinks when developers run the Capgo CLI.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"Capgo CLI before 12.128.2 contains arbitrary file overwrite vulnerabilities in login and build credentials operations that follow symlinks without validation. Attackers can create malicious symlinks in repositories to overwrite arbitrary files or expose credentials with world-readable permissions when developers run the CLI.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Capgo CLI - Arbitrary File Overwrite via Symlink-Following in Local Credential Operations","id":"CVE-2026-56236","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Capgo - Unauthenticated API Key Generation via Client-Side Parameter Manipulation","id":"CVE-2026-56237"},"packages":[{"ecosystem":"npm","fixed":["7.84.6"],"introduced":["0"],"last_affected":[],"package":"@capgo/cli","purl":null,"source":"GHSA-8mpm-q7mh-8fvh"},{"ecosystem":"npm","fixed":["7.84.6"],"introduced":["0"],"last_affected":[],"package":"@capgo/cli","purl":"pkg:npm/%40capgo/cli","source":"GHSA-8mpm-q7mh-8fvh"}],"prev":{"headline":"Capgo - Unauthenticated Cross-Tenant Metrics Disclosure via RPC Functions","id":"CVE-2026-56235"},"products":["cli"],"published":"2026-06-21","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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["capgo"]},"summary":"Attackers can overwrite arbitrary files or expose credentials via malicious symlinks when developers run the Capgo CLI.","url":"https://insights.sbomify.com/CVE-2026-56236/"}