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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 21 Oct 2026 00:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Dulwich 0.24.0 before 1.2.8 Symlink Write-Through via porcelain.checkout paths | |
| First Time appeared |
Dulwich Project
Dulwich Project dulwich |
|
| Weaknesses | CWE-59 | |
| CPEs | cpe:2.3:a:dulwich_project:dulwich:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Dulwich Project
Dulwich Project dulwich |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-21T00:36:59.763Z
Reserved: 2026-10-20T21:46:55.741Z
Link: CVE-2026-114096
No data.
Status : Deferred
Published: 2026-10-21T01:17:34.933
Modified: 2026-10-21T01:17:35.050
Link: CVE-2026-114096
No data.
OpenCVE Enrichment
No data.
Weaknesses