Vulnerability · Published Oct 21, 2026 · Assigned by VulnCheck
CVE-2026-114096Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths
High 7.8
In plain English
A high-severity security flaw in dulwich from jelmer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | dulwich | no fix listed | DEBIAN-CVE-2026-114096 |
| Debian:13 | dulwich | no fix listed | DEBIAN-CVE-2026-114096 |
| Debian:14 | dulwich | 1.2.8-1 | DEBIAN-CVE-2026-114096 |
| PyPI | dulwich | 1.2.8 | GHSA-8w8g-wq8h-fq33 |
| Ubuntu:22.04:LTS | dulwich | no fix listed | UBUNTU-CVE-2026-114096 |
| Ubuntu:24.04:LTS | dulwich | no fix listed | UBUNTU-CVE-2026-114096 |
| Ubuntu:26.04:LTS | dulwich | no fix listed | UBUNTU-CVE-2026-114096 |
Affected products (as reported)
Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-8w8g-wq8h-fq33) vendor-advisory
- VulnCheck Advisory: Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths third-party-advisory