Red Hat VEX
RHVEX-CVE-2026-52726
dulwich: Dulwich: Arbitrary code execution via crafted Git submodules
Details
A flaw was found in Dulwich, a pure-Python implementation of Git file formats and protocols. This vulnerability allows a remote attacker to achieve arbitrary code execution by crafting a malicious Git submodule. When a user clones or updates a repository with such a submodule, the attacker-controlled content is written into the victim's Git hooks directory. Subsequent Git or Dulwich commands can then execute these malicious files, leading to system compromise.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | resource-agents | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | resource-agents-aliyun | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | resource-agents-gcp | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | resource-agents-paf | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-52726
- https://bugzilla.redhat.com/show_bug.cgi?id=2487769
- https://www.cve.org/CVERecord?id=CVE-2026-52726
- https://nvd.nist.gov/vuln/detail/CVE-2026-52726
- https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5
- https://github.com/jelmer/dulwich/security/advisories/GHSA-gfhv-vqv2-4544