Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-45571
Published:May 27, 2026
Updated:June 13, 2026
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These validations were introduced in upstream Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.
Affected Packages
https://github.com/go-git/go-git.git (GITHUB):
Affected version(s) >=v1.0.0 <v5.19.1
Fix Suggestion:
Update to version v5.19.1
github.com/go-git/go-git/v6 (GO):
Affected version(s) >=v6.0.0-alpha.1 <v6.0.0-alpha.4
Fix Suggestion:
Update to version v6.0.0-alpha.4
github.com/go-git/go-git/v5 (GO):
Affected version(s) >=v5.0.0 <v5.19.1
Fix Suggestion:
Update to version v5.19.1
github.com/go-git/go-git (GO):
Affected version(s) >=v1.0.0 <v5.19.1
Fix Suggestion:
Update to version v5.19.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.01