CVE-2026-71557

go-git: Malicious reference names may modify files outside the reference storage

CVE-2026-71557 is fixed in 5 products on 1 platform, first by DEBIAN-CVE-2026-71557, released August 13, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.3
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0041
35th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
alloy · opensuse-leap 16.0 1.19.2-160000.1.1 OPENSUSE-SU-2026:22032-1 Oct 6, 2026
alloy · sles 15.7 1.19.2-150700.15.29.1 SUSE-SU-2026:4408-1 Oct 1, 2026
alloy · sles 16.0 1.19.2-160000.1.1 SUSE-SU-2026:24148-1 Oct 6, 2026
amazon-ssm-agent · amzn 2023 3.3.5226.0-1.amzn2023 ALAS2023-2026-3149 Sep 30, 2026
amazon-ssm-agent · opensuse-leap 16.0 3.3.5390.0-160000.1.1 OPENSUSE-SU-2026:21884-1 Sep 20, 2026
amazon-ssm-agent · sles 15.6 3.3.5226.0-150000.5.40.1 SUSE-SU-2026:4082-1 Sep 8, 2026
amazon-ssm-agent · sles 15.7 3.3.5226.0-150000.5.40.1 SUSE-SU-2026:4082-1 Sep 8, 2026
golang-github-go-git-go-git · Debian 14 5.19.2-1 DEBIAN-CVE-2026-71557 Aug 13, 2026
golang-github-go-git-go-git-v6 · Debian 14 6.0.0~alpha.5-1 DEBIAN-CVE-2026-71557 Aug 13, 2026
govulncheck-vulndb · opensuse-leap 16.0 0.0.20260827T195228-160000.1.1 OPENSUSE-SU-2026:21761-1 Sep 4, 2026
govulncheck-vulndb · sles 16.0 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1 Sep 4, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.