CVE-2026-114098 PUBLISHED

Dulwich 0.22.5 before 1.2.8 Path Traversal via Stash Pop Symlinks

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

Dulwich from 0.22.5 before 1.2.8 contains a path traversal vulnerability in stash.py pop() that allows attackers to write arbitrary files outside the worktree through intermediate directory symlinks. Attackers can craft a malicious repository whose popped stash writes a payload into .git/hooks/post-checkout, achieving code execution on the next checkout.

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.22.5 to 1.2.8 (excl.)
  • Version 1.2.8 is unaffected

Credits

  • manus-use reporter
  • jelmer finder

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE