5.4

CVE-2026-45571: go-git: Crafted repositories may modify main and submodule .git directories

Analyzed
AliasesUBUNTU-CVE-2026-45571DEBIAN-CVE-2026-45571CGA-2342-v6hx-xv79
Published 27-05-2026Last modified 27-05-2026

Vulnerability summary

CVE-2026-45571 is a medium (CVSS 5.4) vulnerability in go-git_project go-git. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 24% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 5

Timeline

  1. 27-05-2026
    PublishedVulnerability first disclosed.
  2. 27-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.30% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard200 products
  • act< 0.2.88-r4
  • amazon-ssm-agent< 3.3.4364.0-r2
  • amazon-ssm-agent-ecs-exec< 3.3.4364.0-r2
  • amazon-ssm-agent-ecs-exec-fips< 3.3.4515.0-r0 | < 3.3.4515.0-r1
  • amazon-ssm-agent-fips< 3.3.4515.0-r1

1 vendor · 200 products · Showing 200 of 369

References

8 links