dulwich is vulnerable to Path Traversal
81
CVE Score
High
Path Traversal
Several dulwich work-tree update paths did not fully enforce core.protectNTFS and core.protectHFS, so a crafted branch merged or pulled via update_working_tree could still materialize NTFS-unsafe names such as git~2 even after the 1.2.5 hardening reached only checkout and reset. Untrusted patch headers processed by apply_patches (for example during git am) could also carry +++ or rename targets with .. or absolute paths that were joined onto the repository root and written outside the working tree. The fix derives the configured path validator for all work-tree updates, rejects out-of-tree patch targets, and adds defense-in-depth validation in checkout, restore, and reset_file.
Upgrade the dulwich library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.2.0 - 1.2.5
Fixed in 1.2.6dulwich is vulnerable to Path Traversal in versions 1.2.0 - 1.2.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.