GHSA-crhj-59gh-8x96 · Severity: medium · Ecosystem: go — go-git: Crafted repositories may modify main and submodule .git directories
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.
Conclusion & alert: CVE-2026-45571 is rated Low Risk (22.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-28 | — | 0.01% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
GHSA-crhj-59gh-8x96 · Severity: medium · Ecosystem: go — go-git: Crafted repositories may modify main and submodule .git directories
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-45571 not yet assigned priority: Debian including 2 source packages (golang-github-go-git-go-git, golang-github-go-git-go-git-v6), 6 status rows across 4 suites (bookworm, forky, sid, trixie): open 3, resolved 3. | https://security-tracker.debian.org/tracker/CVE-2026-45571 |
ubuntu
|
medium | CVE-2026-45571 medium priority: Ubuntu including 1 source packages (golang-github-go-git-go-git), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 4, released 1. | https://ubuntu.com/security/CVE-2026-45571 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| go-git_project | go-git | < 5.19.1 | cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* |
| go-git_project | go-git | 6.0.0 | cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:* |
| go-git_project | go-git | 6.0.0 | cpe:2.3:a:go-git_project:go-git:6.0.0:alpha2:*:*:*:go:*:* |
| go-git_project | go-git | 6.0.0 | cpe:2.3:a:go-git_project:go-git:6.0.0:alpha3:*:*:*:go:*:* |
| URL | Tags |
|---|---|
| https://github.com/go-git/go-git/security/advisories/GHSA-crhj-59gh-8x96 | Vendor Advisory |