# CVE-2026-56236: Capgo CLI - Arbitrary File Overwrite via Symlink-Following in Local Credential Operations

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 5% of CVEs (2026-11-30)
- Published: 2026-03-18T16:09:42.000Z
- Modified: 2026-11-08T14:05:41.544Z
- Also known as: GHSA-8mpm-q7mh-8fvh
- Weaknesses: CWE-59, CWE-276, CWE-377
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- capgo cli: before 12.128.2 (not affected: 12.128.2)
- @capgo/cli (npm): before 7.84.6

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/Cap-go/capgo/security/advisories/GHSA-8mpm-q7mh-8fvh> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/capgo-cli-arbitrary-file-overwrite-via-symlink-following-in-local-credential-operations> (third-party-advisory)
- <https://github.com/Cap-go/CLI/commit/b8aa5ccbfad2d7f10f3cdbc00910d4a6aab026b2> (web)
- <https://github.com/Cap-go/capgo> (package)

## Sources

- CVE List: [CVE-2026-56236](https://www.cve.org/CVERecord?id=CVE-2026-56236), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-8mpm-q7mh-8fvh](https://github.com/advisories/GHSA-8mpm-q7mh-8fvh), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-56236](https://nvd.nist.gov/vuln/detail/CVE-2026-56236), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-56236 · Whole record: https://cve.day/CVE-2026-56236.json · Rebuilt by cve.day 2026-11-25T22:59:25.324Z
