Path traversal in go-git - CVE-2026-71557

 

Path traversal in go-git - CVE-2026-71557

Published: July 31, 2026 / Updated: August 8, 2026


Vulnerability identifier: #VU140595
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-71557
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to modify files outside the intended reference storage.

The vulnerability exists due to path traversal in the `storage/filesystem` package `dotgit` reference storage when processing attacker-controlled reference names during clone or fetch operations. A remote user can advertise a specially crafted reference name to modify files outside the intended reference storage.

This affects filesystem-backed repositories, while instances using only the in-memory `storage/memory` implementation are not affected. User interaction is required for an application using filesystem-backed storage to interact with a malicious Git server or otherwise process attacker-controlled reference names.


Affected software

go-git
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Public Cloud Module
amazon-ssm-agent

How to mitigate CVE-2026-71557

Install security update from vendor's website.

go-git - addressed in versions 5.19.2, 6.0.0 alpha.5
amazon-ssm-agent - update to 3.3.5226.0-150000.5.40.1

External References

Related Security Bulletins