{"id":"CVE-2026-114098","summary":"Dulwich 0.22.5 before 1.2.8 Path Traversal via Stash Pop Symlinks","details":"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.","aliases":["GHSA-cm62-gvxx-vmxx"],"modified":"2026-10-21T10:45:18.534319575Z","published":"2026-10-21T00:37:01.150Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114098.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114098.json"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-cm62-gvxx-vmxx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114098"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dulwich-0.22.5-before-1.2.8-path-traversal-via-stash-pop-symlinks"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jelmer/dulwich","events":[{"introduced":"18ff82ddc7778549616d49d2cddc3008a91e79da"},{"fixed":"e5bc9a4604e1699509447bc09760850062382d8d"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.22.5"},{"fixed":"1.2.8"}],"source":"AFFECTED_FIELD"}]}}],"versions":["dulwich-1.2.7","dulwich-1.2.6","dulwich-1.2.5","dulwich-1.2.4","dulwich-1.2.3","dulwich-1.2.2","dulwich-1.2.1","dulwich-1.2.0","dulwich-1.1.0","dulwich-1.0.0","dulwich-0.25.2","dulwich-0.25.1","dulwich-0.25.0","dulwich-0.24.8","dulwich-0.24.7","dulwich-0.24.6","dulwich-0.24.5","dulwich-0.24.2","dulwich-0.24.1","dulwich-0.24.0","dulwich-0.23.2","dulwich-0.23.1","dulwich-0.22.8","dulwich-0.22.7","dulwich-0.22.6","dulwich-0.22.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114098.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}