Symlink Following Vulnerability in Dulwich by PII
CVE-2026-114096
7.3HIGH
What is CVE-2026-114096?
The vulnerability in Dulwich involves a symlink following flaw within the porcelain.checkout method. This security issue allows attackers to exploit raw os.open calls to bypass the O_NOFOLLOW restriction. By crafting a malicious repository, an attacker can create a worktree symlink pointing to .git/hooks/post-checkout. When a file from a tag is restored, the malicious hook is written, enabling the potential for unauthorized code execution.
Affected Version(s)
dulwich 0.24.0 < 1.2.8
dulwich 1.2.8
