Skip to main content
VulnerabilityPublished Updated

CVE-2026-42305: Breezy · Dulwich has an arbitrary file write via NTFS-hostile tree entries on Windows

Affects breezySource GCVE Database

0
Compare
Authoritative record:CVE-2026-42305· High 8.8

Not known to be exploited · CVSS 8.8 High : upgrade to 3.3.21_3 soon.

Data as of 4 Dec 2026, 20:03 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.3.21_3, 1.2.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jun 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_3; dulwich to 1.2.5.

Affected software

ProductAffectedFixed in
Homebrewbreezypkg:brew/breezyOther threatsAffected
  • >=3.0.0 <3.3.21_3
Fixed in
  • 3.3.21_3
PyPIdulwichpkg:pypi/dulwichOther threatsAffected
  • 0.10.0 – 1.2.4
  • >=0.10.0 <1.2.5
133 affected builds
Fixed in
  • 1.2.5

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 1.2.5 and later. Users should upgrade to these versions to remediate the vulnerability. There is no effective pre-patch workaround because the core.protectNTFS configuration was ignored on affected versions. Users unable to upgrade should avoid cloning, fetching, or checking out untrusted repositories on Windows. After upgrading, no additional configuration is required as the NTFS validator is enabled by default on all platforms.

Description

CVE-2026-42305 is a high-severity vulnerability in Dulwich affecting Windows users. It allows arbitrary file write and potential remote code execution when cloning or checking out a malicious Git repository due to improper validation of path elements containing NTFS-specific characters. The flaw enables attackers to plant files inside the victim's .git directory or escape the working tree. The issue is fixed in Dulwich version 1.2.5 and later. Users should upgrade to mitigate the risk. No effective pre-patch workaround exists other than avoiding untrusted repositories on Windows.

References

Community reviews

Loading reviews…