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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T00:36:59.763Z

Reserved: 2026-10-20T21:46:55.741Z

Link: CVE-2026-114096

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-21T01:17:34.933

Modified: 2026-10-21T01:17:35.050

Link: CVE-2026-114096

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses