🛡️ CVE-2026-45571 on Debian — golang-github-go-git-go-git
Description
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.
Distribution advisory
This page covers CVE-2026-45571 as tracked by Debian, for the package golang-github-go-git-go-git. The fix is available in version 5.19.1-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability low.
Weakness class
DEBIAN-CVE-2026-45571 is classified as CWE-22: Path Traversal. A file path built from user input is not confined to the intended directory, letting an attacker reach files elsewhere on the filesystem.
Affected software
DEBIAN-CVE-2026-45571 is recorded against 2 packages.
- golang-github-go-git-go-git (fixed in 5.19.1-1)
- golang-github-go-git-go-git-v6 (fixed in 6.0.0~alpha4-1)
Timeline and source
Published on 27 May 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-45571 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang-github-go-git-go-git | — | 5.19.1-1 |
| golang-github-go-git-go-git-v6 | — | 6.0.0~alpha4-1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-71556
- Unknown DEBIAN-CVE-2026-71557
- Unknown DEBIAN-CVE-2026-45570
- Unknown DEBIAN-CVE-2026-45571
- Unknown DEBIAN-CVE-2026-45022
Vulnerability Monitoring
Track new vulnerabilities in golang-github-go-git-go-git
DEBIAN-CVE-2026-45571 is rated CVSS 5.4 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.