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.
CVE-2026-71557
This medium-severity CVE scores 6.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 72% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.3
- EG Score
- 6.3(medium)
- EG Risk
- 28(Track)EG Risk 28/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity63% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 28%
- KEV
- Not listed
Published
August 7, 2026
Last Modified
August 7, 2026
Advisory Details (7)
Auto-updated Aug 7, 2026v6.0.0-alpha.5
Patch available: go-git/go-git v6.0.0-alpha.5 (pre-release)
https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5v5.19.2
Patch available: go-git/go-git v5.19.2
https://github.com/go-git/go-git/releases/tag/v5.19.2commit da9f7d8a0e98 (go-git/go-git)
Patch available: go-git/go-git v6.0.0-alpha.5 (contains commit da9f7d8a0e98)
https://github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36commit 4a0e66d555de (go-git/go-git)
Patch available: go-git/go-git v5.19.2 (contains commit 4a0e66d555de)
https://github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7storage: dotgit, reject path traversal in reference names
Patch available: go-git/go-git v5.19.2 (PR #2254 merged 2026-07-17)
https://github.com/go-git/go-git/pull/2254storage: dotgit, reject path traversal in reference names
Patch available: go-git/go-git v6.0.0-alpha.5 (PR #2247 merged 2026-07-15)
https://github.com/go-git/go-git/pull/2247Malicious reference names may modify files outside the reference storage · Advisory · go-git/go-git · GitHub
https://github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39jVendor Advisories for CVE-2026-71557(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(6 across 4 ecosystems)
Debian:14(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang-github-go-git-go-git | 5.14.0-1, 5.16.2-1, 5.17.0-1, 5.17.1-1, 5.19.1-1 | — | — |
| golang-github-go-git-go-git-v6 | 6.0.0~alpha.4-1 ... 6~git20260305.2083cf94-3 (7 versions) | — | — |
Go(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/go-git/go-git/v5 | — | 5.19.2 | — |
| github.com/go-git/go-git/v6 | — | 6.0.0-alpha.5 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang-github-go-git-go-git | 5.11.0-1 ... 5.4.2-4 (13 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang-github-go-git-go-git | 5.14.0-1, 5.16.2-1, 5.17.0-1, 5.17.1-1, 5.19.1-1 | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 15× in last 7d / 30× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 08:51 UTCEG score recompute
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 11:07 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 15:40 UTCEG score recompute
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-17 17:07 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 19:26 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 21:42 UTCEG score recompute
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-14 02:18 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 04:37 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 06:55 UTCEG score recompute
- 2026-08-11 09:13 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 13:49 UTCEG score recompute
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-08 16:37 UTCEPSS rescore
Show 5 moreShow fewer
- 2026-08-07 18:26 UTCEG score recompute
- 2026-08-07 18:07 UTCEG score recompute
- 2026-08-07 17:25 UTCEG score recompute
- 2026-08-07 16:47 UTCEG score recompute
- 2026-08-07 16:47 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-71557?
When was CVE-2026-71557 disclosed?
Is CVE-2026-71557 actively exploited?
What is the CVSS score of CVE-2026-71557?
How do I remediate CVE-2026-71557?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-71557
Is Your Infrastructure Affected by CVE-2026-71557?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.