CVE Explorer
CVE-2026-45570
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"go-git","vendor":"go-git","versions":[{"status":"affected","version":"< 5.19.1"},{"status":"affected","version":">= 6.0.0-alpha.1, < 6.0.0-alpha.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8b7c035e339998304ff280534741484b155b7f298cde92ff6316d487d6413637 · sha256:fc929578ed41c18d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8b7c035e339998304ff280534741484b155b7f298cde92ff6316d487d6413637 · sha256:fc929578ed41c18d… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8b7c035e339998304ff280534741484b155b7f298cde92ff6316d487d6413637 · sha256:fc929578ed41c18d… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/go-git/go-git/security/advisories/GHSA-m7cr-m3pv-hgrp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/go-git/go-git/security/advisories/GHSA-m7cr-m3pv-hgrp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8b7c035e339998304ff280534741484b155b7f298cde92ff6316d487d6413637 · sha256:fc929578ed41c18d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.