Bug 2512557 (CVE-2026-71557) - CVE-2026-71557 github.com/go-git/go-git: github.com/go-git/go-git/v5: go-git: Unauthorized file modification via directory traversal in reference names
Summary: CVE-2026-71557 github.com/go-git/go-git: github.com/go-git/go-git/v5: go-git:...
Keywords:
Status: NEW
Alias: CVE-2026-71557
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-07 16:51 UTC by OSIDB Bzimport
Modified: 2026-09-22 12:33 UTC (History)
131 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-07 16:51:21 UTC
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.


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