CVE-2026-114098
Public on 2026-10-21
Modified on 2026-10-22
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2023 | python-dulwich | Not Affected | ||
| Amazon Linux 2027 Preview | python-dulwich | Pending Fix | ||
| Amazon Linux 2 - Core | resource-agents | Not Affected | ||
| Amazon Linux 2023 | resource-agents | Not Affected | ||
| Amazon Linux 2027 Preview | resource-agents | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |