Bug 2558028 (CVE-2026-114098)

Summary: CVE-2026-114098 dulwich: Dulwich: Arbitrary code execution via symlink directory traversal during stash pop
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, dschmidt, gbenhaim, jdelft, jdobes, jlanda, jmitchel, jupierce, kgaikwad, kshier, lgarciaa, mbiarnes, niyer, orabin, ppalepu, ppostler, prdhamdh, rbobbitt, rhel-process-autobot, sghai, sidsharm, simaishi, stcannon, suppawar, twaugh, vlaad, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Dulwich. This vulnerability allows an attacker to achieve arbitrary code execution by tricking a user into restoring a stash in a specially crafted Git repository. During a stash pop operation, intermediate directory symbolic links (symlinks) are followed without adequate validation, enabling files to be written outside the intended repository working directory. By overwriting internal Git hooks or other critical files, an attacker can execute arbitrary commands on the victim's system during subsequent operations.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-10-21 01:01:49 UTC
Dulwich from 0.22.5 before 1.2.8 contains a path traversal vulnerability in stash.py pop() that allows attackers to write arbitrary files outside the worktree through intermediate directory symlinks. Attackers can craft a malicious repository whose popped stash writes a payload into .git/hooks/post-checkout, achieving code execution on the next checkout.