CVE Catalog

CVE-2026-114096

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

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.

Risk Assessment

An attacker can remotely execute arbitrary code in the context of the user processing the repository, leading to system compromise. This can result in data theft and further escalation.

Recommendation

Update Dulwich to version 1.2.8 or later. Avoid processing untrusted repositories without proper isolation.

Other vulnerabilities in Dulwich

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS