CVE-2026-71556: go-git: Worktree operations may follow symlinks
Vulnerability summary
CVE-2026-71556 is a high (CVSS 7.1) vulnerability in go-git. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 29.5% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 13Timeline
- 07-08-2026PublishedVulnerability first disclosed.
- 07-08-2026Last modifiedVulnerability information updated.
Description
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and add) resolve symbolic links inside the working tree without confining resolution to the worktree boundary, so a maliciously crafted repository containing a symlink can cause go-git to read from or write to files outside the intended working directory when the repository is cloned and its worktree operations are used. Versions 5.19.2 and 6.0.0-alpha.5.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- OSV · GoEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.36% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard200 products
- act< 0.2.89-r5
- amazon-ssm-agent< 3.3.4851.0-r2
- amazon-ssm-agent-ecs-exec< 3.3.4851.0-r2
- amazon-ssm-agent-ecs-exec-fips< 3.3.4851.0-r2
- amazon-ssm-agent-fips< 3.3.4851.0-r2
1 vendor · 200 products · Showing 200 of 355
References
19 links- github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxmX Refsource CONFIRMARTICLEREPORTAdvisoryWEB
- github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aabX Refsource MISCARTICLEREPORTFIXWEB
- github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07acX Refsource MISCARTICLEREPORTFIXWEB
- images.redhat.comARTICLE
Show all 19 references
- github.com/go-git/go-gitPACKAGE