CVE-2026-52726
Last modified
CVE-2026-52726 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.45% chance of exploitation in the next 30 days.
Description
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/hooks/` directory, preserving executable mode bits. The dropped executables are then run by any subsequent `git` or `dulwich` command that invokes the matching hook, resulting in arbitrary code execution. This is the dulwich equivalent of the upstream Git fixes for CVE-2024-32002 / CVE-2024-32004, which were never propagated into dulwich's separately implemented submodule porcelain. Version 1.2.5 patches the issue.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-52726?
How severe is CVE-2026-52726?
How do I fix CVE-2026-52726?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-52720A heap buffer overflow vulnerability was found in GStreamer'…8.8
- CVE-2026-52721Multiple out-of-bounds read vulnerabilities were found in GS…5.3
- CVE-2026-52722A signed integer overflow vulnerability was found in GStream…7.1
- CVE-2026-52723ePA 3.x Integration implements the authorization workflow an…9.1
- CVE-2026-52724Kuma is a modern Envoy-based service mesh that can run on ev…5.8
- CVE-2026-52725Angular is a development platform for building mobile and de…6.1
- CVE-2026-52727lxc-ci contains continuous integration and image-build scrip…7.2
- CVE-2026-5273Use after free in CSS in Google Chrome prior to 146.0.7680.1…6.3
- CVE-2026-52730Xibo is an open source digital signage platform with a web c…4.3
- CVE-2026-52731ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5…6.5
- CVE-2026-52732ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5…5.3
- CVE-2026-52733ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5…6.5
Are you affected by CVE-2026-52726?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
