CVE-2026-45570
Improper single-quote escaping in go-git SSH transport in github.com/go-git/go-git
9.6
CRITICAL
CVSS 3.1
EPSS 0.36%
描述
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.
如何修補 CVE-2026-45570
要修補 CVE-2026-45570,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 6.0.0~alpha4-1 或更新版本
CVE-2026-45570 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0
- from 0, < 6.0.0~alpha4-1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |