{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-52726","published":"2026-06-10T23:16:50.143000Z","last_modified":"2026-07-21T19:10:00.107000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["jelmer"],"products":["jelmer/dulwich"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-gfhv-vqv2-4544","ecosystem":"PyPI","name":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"introduced":"0.23.2","fixed":"1.2.5"}],"versions":["0.23.2","0.24.0","0.24.1","0.24.10","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"versions_truncated":false},{"advisory":"PYSEC-2026-2465","ecosystem":"PyPI","name":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"introduced":"0.23.2","fixed":"1.2.5"}],"versions":["0.23.2","0.24.0","0.24.1","0.24.10","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-52726/","html_en":"/en/cve/CVE-2026-52726/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52726","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52726"},"untrusted":{"vendor_name":"jelmer","product_name":"dulwich","desc_en":"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.","affected":[{"untrusted_vendor":"jelmer","untrusted_product":"dulwich","versions":[]}],"references":[{"url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5","tags":[]},{"url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-gfhv-vqv2-4544","tags":[]}]}}