7.8Hoch
CVE-2026-114096Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths
Beschreibung
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.
Schwachstellentyp (CWE):
CWE-59
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| dulwich project | dulwich | 0.24.0 – < 1.2.8 | |
| jelmer | dulwich | 0.24.0 – < 1.2.8, fixed 1.2.8 |
Referenzen und Patches
- GitHub Security Advisory (GHSA-8w8g-wq8h-fq33) vendor-advisory
- VulnCheck Advisory: Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths third-party-advisory