CVE-2026-71557: go-git Path Traversal
Vulnerability summary
CVE-2026-71557 is a medium (CVSS 6.3) Path Traversal vulnerability in go-git. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 15 · Related 12Timeline
- 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, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
- OSV · DebianEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
- OSV · GoEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
- NVDNIST6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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 353. Use Open JSON for the complete list.
References
13 links- github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39jX Refsource CONFIRMREPORTAdvisoryWEB
- github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7X Refsource MISCREPORTFIXWEB
- github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36X Refsource MISCREPORTFIXWEB
Show all 13 references
- github.com/go-git/go-gitPACKAGE