---
title: "CVE-2026-45571"
canonical_url: "https://pkgseek.com/security/CVE-2026-45571"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-45571

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.

CVE-2026-45571 is rated MEDIUM (5.4), with 2 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.4)
- **Affected builds**: 2
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | go-git | 5.14.0-1+b3 | — |
| Debian | trixie | golang-github-go-git-go-git-dev | 5.14.0-1 | — |
