# 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.

- Web page: https://patchblox.com/security/cve/CVE-2026-71557
- Priority: Routine
- CVSS: 6.3 (Moderate)
- EPSS: 0.0041
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 7, 2026
- Weakness: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-71557

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | alloy opensuse-leap 16.0 | 1.19.2-160000.1.1 | [OPENSUSE-SU-2026:22032-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22032-1.md) | Oct 6, 2026 |
| Linux | alloy sles 15.7 | 1.19.2-150700.15.29.1 | [SUSE-SU-2026:4408-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4408-1.md) | Oct 1, 2026 |
| Linux | alloy sles 16.0 | 1.19.2-160000.1.1 | [SUSE-SU-2026:24148-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24148-1.md) | Oct 6, 2026 |
| Linux | amazon-ssm-agent amzn 2023 | 3.3.5226.0-1.amzn2023 | [ALAS2023-2026-3149](https://patchblox.com/security/data/fix/linux/alas2023-2026-3149.md) | Sep 30, 2026 |
| Linux | amazon-ssm-agent opensuse-leap 16.0 | 3.3.5390.0-160000.1.1 | [OPENSUSE-SU-2026:21884-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21884-1.md) | Sep 20, 2026 |
| Linux | amazon-ssm-agent sles 15.6 | 3.3.5226.0-150000.5.40.1 | [SUSE-SU-2026:4082-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4082-1.md) | Sep 8, 2026 |
| Linux | amazon-ssm-agent sles 15.7 | 3.3.5226.0-150000.5.40.1 | [SUSE-SU-2026:4082-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4082-1.md) | Sep 8, 2026 |
| Linux | golang-github-go-git-go-git Debian 14 | 5.19.2-1 | [DEBIAN-CVE-2026-71557](https://patchblox.com/security/data/fix/linux/debian-cve-2026-71557.md) | Aug 13, 2026 |
| Linux | golang-github-go-git-go-git-v6 Debian 14 | 6.0.0~alpha.5-1 | [DEBIAN-CVE-2026-71557](https://patchblox.com/security/data/fix/linux/debian-cve-2026-71557.md) | Aug 13, 2026 |
| Linux | govulncheck-vulndb opensuse-leap 16.0 | 0.0.20260827T195228-160000.1.1 | [OPENSUSE-SU-2026:21761-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21761-1.md) | Sep 4, 2026 |
| Linux | govulncheck-vulndb sles 16.0 | 0.0.20260827T195228-160000.1.1 | [SUSE-SU-2026:23625-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23625-1.md) | Sep 4, 2026 |

---

Data as of 2026-11-10T01:44:33Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
