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

# CVE-2026-52726

Dulwich is a pure-Python implementation of the Git file formats and protocols. Starting in version 0.23.2 and prior to version 1.2.5, \`dulwich.porcelain.submodule_update\`, and by extension \`porcelain.clone(..., recurse_submodules=True)\`, materializes attacker-controlled submodule paths from a crafted upstream repository without path validation. A malicious \`.gitmodules\` plus a matching tree gitlink whose \`path\` is \`.git/hooks\` (or any other directory inside the parent repository's \`.git\` directory) causes the attacker's submodule tree contents to be written directly into the victim's \`.git/hoo…

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

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

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-dulwich | 0.22.7-1 | — |
