Skip to content
OpenAdvisories
High · 7.8 CVE-2026-114096 EUVD-2026-106899GHSA-8w8g-wq8h-fq33GHSA-8wh8-hpg9-jvx8

Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths

Published Oct 21, 2026 · Updated Oct 28, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
jelmer dulwich 0.24.0 – < 1.2.8 1.2.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dulwich 1.2.8-1 —
Debian 13 dulwich No fix yet —
Debian 12 dulwich No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS dulwich No fix yet —
Ubuntu 24.04 LTS dulwich No fix yet —
Ubuntu 22.04 LTS dulwich No fix yet —
Ubuntu 20.04 LTS dulwich No fix yet —
Ubuntu 18.04 LTS dulwich No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS dulwich No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dulwich >= 0.24.0, < 1.2.8 1.2.8 GHSA-8w8g-wq8h-fq33

References