CVE-2026-114098
Dulwich 0.22.5 before 1.2.8 Path Traversal via Stash Pop Symlinks
- State
- Published
- Severity
- 7.3 High
- Published
- Oct 21, 2026
- Updated
- Oct 27, 2026
- Reserved
- Oct 20, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.3 High | 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 | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
dulwichjelmer |
|
References
- GitHub Security Advisory (GHSA-cm62-gvxx-vmxx)vendor-advisory
- VulnCheck Advisory: Dulwich 0.22.5 before 1.2.8 Path Traversal via Stash Pop Symlinksthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.