Bug 2482228 (CVE-2026-45571) - CVE-2026-45571 github.com/go-git/go-git: go-git: Path validation flaw allows unauthorized file access
Summary: CVE-2026-45571 github.com/go-git/go-git: go-git: Path validation flaw allows ...
Keywords:
Status: NEW
Alias: CVE-2026-45571
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2498444
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 16:03 UTC by OSIDB Bzimport
Modified: 2026-07-09 09:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 16:03:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.