CVE-2026-114097 PUBLISHED

Dulwich 0.23.1 before 1.2.8 Symlink Path Traversal via filter_branch Index Filter

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

Dulwich from 0.23.1 before 1.2.8 contains a path traversal vulnerability in CommitFilter._apply_index_filter() that allows attackers to write files outside the working directory via symlinks persisting between commits. Attackers can craft a repository where an ancestor commit's symlink redirects a descendant commit's file writes during filter_branch, enabling code execution by writing into .git/hooks.

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.23.1 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