What’s Vulnerable › Vulnerabilities
CVE-2026-114096: Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-21 · updated 2026-10-28
- Weakness: CWE-59
Description
Dulwich from 0.24.0 before 1.2.8 contains a symlink following vulnerability in porcelain.checkout(paths=[...]) that allows attackers to write arbitrary files by abusing raw os.open without O_NOFOLLOW. Attackers can craft a repository where a worktree symlink points to .git/hooks/post-checkout, so restoring the file from a tag writes a malicious hook for code execution.
Affected products
- Pypi Dulwich: from 0.24.0 before 1.2.8; 0.24.0, 0.24.1, 0.24.10, 0.24.2, 0.24.3, 0.24.4 (+18) — fixed in 1.2.8
- jelmer dulwich: from 0.24.0 before 1.2.8 — fixed in 1.2.8
How to fix
Upgrade to a fixed version: Pypi Dulwich 1.2.8; jelmer dulwich 1.2.8. Check the vendor advisory for mitigations.
References
- https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33
- https://www.vulncheck.com/advisories/dulwich-0.24.0-before-1.2.8-symlink-write-through-via-porcelain-checkout-paths
- https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33
Get alerted when CVE-2026-114096 or the next vulnerability affects your stack