PT-2026-41959 · Go-Git · Go-Git

·

CVE-2026-45571

·

Published

2026-05-19

·

Updated

2026-07-24

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Name of the Vulnerable Software and Affected Versions go-git versions prior to v5
Description A path validation issue allows crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. This occurs because the software drifted from validation checks implemented in upstream Git. Some attack vectors are platform-specific, affecting only Windows or macOS users, while others apply across all supported platforms. Isolation may be provided if non-descendant go-billy filesystem instances or different filesystem types are used for the Storer and Worktree, such as using memfs for the .git directory and osfs for the worktree. However, this isolation may not apply to repositories containing submodules, as submodule dotgit directories may still be materialized within the worktree context.
Recommendations Upgrade to a supported go-git version v5 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-CP15003
CLEANSTART-2026-CV49545
CLEANSTART-2026-EH36582
CLEANSTART-2026-ES72297
CLEANSTART-2026-HO16255
CLEANSTART-2026-JW97006
CLEANSTART-2026-KL41807
CLEANSTART-2026-KQ90880
CLEANSTART-2026-MY68881
CLEANSTART-2026-OS93204
CLEANSTART-2026-QT53274
CLEANSTART-2026-VD09973
CLEANSTART-2026-VD47610
CLEANSTART-2026-WF25734
CLEANSTART-2026-WY21381
CVE-2026-45571
GHSA-CRHJ-59GH-8X96
GO-2026-5336
OPENSUSE-SU-2026:10831-1

Affected Products

Go-Git