CVE-2026-114096
highDulwich from 0.24.0 before 1.2.8 contains a symlink following vulnerability in porcelain.checkout(paths=[...]) that allows attackers to write arbitrary files b…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/dulwich-0.24.0-before-1.2.8-symlink-write-through-via... disclosure@vulncheck.com
- https://github.com/jelmer/dulwich/security/advisories/GHSA-8w8g-wq8h-fq33 134c704f-9b21-4f2e-91b3-4a467353bcc0
