Arbitrary file overwrite via unchecked credential symlinks
Published Jun 21, 2026 · Updated Oct 8, 2026
Unsafe credential writes in Capgo CLI before 12.128.2 allow attackers to overwrite local files via repository symlinks. loginInternal writes .capgo before API-key validation, and build credential saving writes .capgo-credentials.json without rejecting symlinks; global credentials also receive world-readable permissions. Overwrites require a developer to run the relevant local command in an attacker-controlled repository and inherit that developer's file access, while other local users can read exposed signing credentials on shared hosts.
Summary
What happened
Unsafe credential writes in Capgo CLI before 12.128.2 allow attackers to overwrite local files via repository symlinks. loginInternal writes .capgo before API-key validation, and build credential saving writes .capgo-credentials.json without rejecting symlinks; global credentials also receive world-readable permissions. Overwrites require a developer to run the relevant local command in an attacker-controlled repository and inherit that developer's file access, while other local users can read exposed signing credentials on shared hosts.
The record
- CVE
- CVE-2026-56236
- Published
- Jun 21, 2026
- Updated
- Oct 8, 2026
- Vendor
- Capgo
- Product
- Capgo CLI
- Classifications
- CWE-377, CWE-276, CWE-59, T1552.001
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 21, 2026CVE publishedPublication date reported by the CVE source.
- Oct 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <12.128.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
- Global credential permission exposure PoCproof of concept · demonstrated
- Local build credential symlink overwrite PoCproof of concept · demonstrated
- Local login symlink overwrite PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Get started