A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved.
Applications are only affected if they are using the ChrootOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS , which is the default when using "Plain" versions of Open and Clone funcs (e.g. PlainClone). Applications using BoundOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS or in-memory filesystems are not affected by this issue. This is a go-git implementation issue and does not affect the upstream git cli.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-amazon-ssm-agentamazon-linux-ami-2-upgrade-amazon-ssm-agent-debuginfo | Feb 21, 2024 | Jan 12, 2024 | |
| Amazon_linux | — | amazon-linux-upgrade-amazon-ssm-agent | Feb 19, 2024 | Jan 12, 2024 |
| Amazon_linux_2023 | amazon-linux-2023-upgrade-amazon-ssm-agentamazon-linux-2023-upgrade-amazon-ssm-agent-debuginfoamazon-linux-2023-upgrade-amazon-ssm-agent-debugsource | Feb 17, 2025 | Jan 9, 2024 | |
| Debian | no-fix-debian-deb-package | May 15, 2025 | Jan 12, 2024 | |
| Ubuntu | ubuntu-pro-upgrade-go-gitubuntu-pro-upgrade-golang-github-go-git-go-git-dev | Mar 13, 2026 | Jan 12, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub