CVE-2026-114096 PUBLISHED

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

Assigner: VulnCheck
Reserved: 20.10.2026 Published: 21.10.2026 Updated: 21.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.3

Product Status

Vendor jelmer
Product dulwich
Versions Default: unaffected
  • affected from 0.24.0 to 1.2.8 (excl.)
  • Version 1.2.8 is unaffected

Credits

  • manus-use reporter
  • jelmer finder

References

Problem Types

  • Improper Link Resolution Before File Access ('Link Following') CWE