{"id":"CVE-2026-114096","summary":"Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths","details":"Dulwich from 0.24.0 before 1.2.8 contains a symlink following vulnerability in porcelain.checkout(paths=[...]) that allows attackers to write arbitrary files by abusing raw os.open without O_NOFOLLOW. Attackers can craft a repository where a worktree symlink points to .git/hooks/post-checkout, so restoring the file from a tag writes a malicious hook for code execution.","aliases":["GHSA-8w8g-wq8h-fq33"],"modified":"2026-10-21T10:45:30.698375203Z","published":"2026-10-21T00:36:59.763Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114096.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-59"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114096.json"},{"type":"ADVISORY","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114096"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dulwich-0.24.0-before-1.2.8-symlink-write-through-via-porcelain-checkout-paths"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jelmer/dulwich","events":[{"introduced":"031c690286ed5e6ddd199b4272587d590624b728"},{"fixed":"e5bc9a4604e1699509447bc09760850062382d8d"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0.24.0"},{"fixed":"1.2.8"}]}]}}],"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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114096.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"}]}