CVE-2023-49569
CWE-22Published: January 12, 2024· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
The go-git library contains a path traversal vulnerability that can lead to remote code execution when processing files. This affects applications using the ChrootOS implementation.
There is no known public exploit for this vulnerability, and it is not in the CISA KEV catalog.
Upgrade go-git to version v5.11 or later, or switch to using BoundOS or in-memory filesystems.
Technical Analysis
CVE-2023-49569 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-22)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-49569 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts