9.6

CVE-2026-45570: go-git: Improper single-quote escaping in go-git SSH transport

Analyzed
AliasesUBUNTU-CVE-2026-45570DEBIAN-CVE-2026-45570CGA-23mm-vj96-6qh7
Published 27-05-2026Last modified 28-05-2026

Vulnerability summary

CVE-2026-45570 is a critical (CVSS 9.6) Improper Encoding or Escaping of Output vulnerability in go-git_project go-git. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 32.4% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
9.6/10
010
Critical · v3.1 (NVD)
EPSS score
0.36%
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 2 · Related 3

Timeline

  1. 27-05-2026
    PublishedVulnerability first disclosed.
  2. 28-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, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.36% 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

7 links