---
title: "CVE-2026-45570"
canonical_url: "https://pkgseek.com/security/CVE-2026-45570"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# 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.

CVE-2026-45570 严重级别为 CRITICAL (9.6)，共索引 2 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: CRITICAL (9.6)
- **受影响构建数**: 2
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | go-git | 5.14.0-1+b3 | — |
| Debian | trixie | golang-github-go-git-go-git-dev | 5.14.0-1 | — |
