PatchSiren cyber security CVE debrief
CVE-2026-56236 capgo CVE debrief
CVE-2026-56236 is a medium-severity vulnerability in Capgo CLI versions before 12.128.2. The vulnerability allows attackers to overwrite arbitrary files or expose credentials with world-readable permissions when developers run the CLI. The issue arises from the CLI's handling of symlinks in repositories without proper validation. This vulnerability has a CVSS score of 6.8 and is classified as CWE-59. Organizations using Capgo CLI should assess their exposure and take steps to mitigate the risk.
- Vendor
- capgo
- Product
- cli
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-21
- Original CVE updated
- 2026-06-22
- Advisory published
- 2026-06-21
- Advisory updated
- 2026-06-22
Who should care
Developers and security teams using Capgo CLI for managing repositories and credentials should be aware of this vulnerability. The exposure is particularly concerning for teams working with sensitive data or in environments where unauthorized file access could have significant impacts. Given the medium severity, prioritizing patching or mitigation efforts is recommended.
Technical summary
The Capgo CLI, used for managing repositories and credentials, contains a vulnerability that allows for arbitrary file overwrites. This is possible because the CLI follows symlinks without validating them, which can be exploited by creating malicious symlinks in repositories. The vulnerability is identified as CWE-59 and has been assigned a CVSS score of 6.8, indicating a medium severity level. The affected versions are before 12.128.2, and the issue is addressed in later versions.
Defensive priority
Medium priority due to potential for arbitrary file overwrite and credential exposure.
Recommended defensive actions
- Update Capgo CLI to version 12.128.2 or later to patch the vulnerability.
- Review and validate symlinks in repositories to prevent exploitation.
- Limit access to sensitive data and credentials managed by Capgo CLI.
- Monitor for suspicious activity related to Capgo CLI operations.
- Consider implementing additional security measures such as file system access controls.
Evidence notes
The primary evidence for this vulnerability comes from the CVE record and references provided by Vulncheck. The CVE-2026-56236 record indicates that Capgo CLI before 12.128.2 is vulnerable to arbitrary file overwrite due to improper symlink validation. Affected products include Capgo CLI versions before 12.128.2. Defenders should verify the version of Capgo CLI in use and check for any suspicious symlinks or file modifications.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-56236 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-56236
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-56236 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-56236
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/Cap-go/capgo/security/advisories/GHSA-8mpm-q7mh-8fvh
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/capgo-cli-arbitrary-file-overwrite-via-symlink-following-in-local-credential-operations
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.