Bug 2498444 - CVE-2026-45571 golang-github-git-5: go-git: Path validation flaw allows unauthorized file access [fedora-all]
Summary: CVE-2026-45571 golang-github-git-5: go-git: Path validation flaw allows unaut...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-git-5
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact:
URL:
Whiteboard: {"flaws": ["e3c44eec-facc-44ac-8a24-f...
Depends On:
Blocks: CVE-2026-45571
TreeView+ depends on / blocked
 
Reported: 2026-07-09 09:29 UTC by Marian Rehak
Modified: 2026-08-17 15:16 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Marian Rehak 2026-07-09 09:29:17 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:16:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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