CVE-2026-114097
7.8 HIGHpublic exploit availablePublished 2026-10-21 · Updated 2026-10-22
AI risk analysis
- Summary
- A path traversal flaw in Dulwich's CommitFilter._apply_index_filter() allows attackers to write files outside the working directory by exploiting symlinks that persist between commits during filter_branch operations, potentially leading to code execution via malicious hooks.
- Exploitability
- Exploitation requires the attacker to craft a malicious repository with carefully chained commits containing symlinks and trigger filter_branch, making it complex but feasible for a motivated attacker with local access.
- Blast radius
- Successful exploitation could lead to arbitrary code execution in the context of the user running Dulwich, compromising confidentiality, integrity, and availability of the host system.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Dulwich version 1.2.8 or later, which patches the path traversal vulnerability in CommitFilter._apply_index_filter().
path-traversalrcegitsymlink
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.