Skip to main content
CVE-2026-114098VulnerabilityPublished Updated

stash pop · Dulwich: Symlink directory traversal

Affects breezySource GCVE Database

0
Compare
Authoritative record:CVE-2026-114098· High 7.3

Not known to be exploited · CVSS 7.3 High : upgrade to 3.3.21_4 soon.

Data as of 4 Dec 2026, 20:02 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.3
CNA (VulnCheck)CVSS 3.17.8
Patch
Available – fixed in 3.3.21_4, 1.2.8
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade breezy to 3.3.21_4; dulwich to 1.2.8.

Affected software

ProductAffectedFixed in
Homebrewbreezypkg:brew/breezyOther threatsAffected
  • >=3.3.10 <3.3.21_4
Fixed in
  • 3.3.21_4
PyPIdulwichpkg:pypi/dulwichOther threatsAffected
  • 0.22.5 – 1.2.7
  • >=0.22.5 <1.2.8
31 affected builds
Fixed in
  • 1.2.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Dulwich version 3.3.21_4 that addresses this vulnerability by adding checks to ensure no symlink traversal outside the repository root occurs during stash pop file writes. Users should upgrade to version 3.3.21_4 or later. Until patched, avoid popping stashes from untrusted repositories. The vendor recommends verifying path components using os.path.realpath() or opening files with O_NOFOLLOW to prevent symlink exploitation.

Description

Dulwich's stash pop function is vulnerable to a symlink directory traversal issue that allows writing arbitrary files outside the repository worktree. This occurs because the function uses os.path.exists() which follows symlinks, enabling an attacker to craft a malicious repository that writes files through symlinks to arbitrary locations such as .git/hooks/post-checkout. Exploiting this can lead to remote code execution on the victim's machine during subsequent git operations. A fix is available in version 3.3.21_4 that adds checks to prevent symlink traversal outside the repository root.

References

Community reviews

Loading reviews…