CVE-2026-42563: Breezy · Dulwich Vulnerable to Command Injection via Merge Driver Path
Affects breezySource GCVE Database
Not known to be exploited · CVSS 7.7 High : upgrade to 3.3.21_3 soon.
Data as of 4 Dec 2026, 20:03 UTC
- Patch
- Available – fixed in 3.3.21_3, 1.2.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Homebrewbreezypkg:brew/breezyOther threats | Affected
| Fixed in
|
PyPIdulwichpkg:pypi/dulwichOther threats | Affected
| Fixed in
|
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 and fixed the vulnerability in Breezy version 3.3.21_3. Users should upgrade to version 3.3.21_3 or later to remediate this issue. Until patched, avoid merging branches from untrusted sources or disable merge drivers that use the %P placeholder.
Description
Dulwich's merge driver functionality is vulnerable to command injection due to unsafe handling of file paths in merge commands. An attacker who can cause a victim to merge a malicious branch with crafted file paths can execute arbitrary commands on the victim's system if a merge driver uses the %P placeholder. This vulnerability affects Breezy versions from 3.3.13 up to but not including 3.3.21_3 and has a high severity rating with a CVSS score of 7.7. A fix is available in version 3.3.21_3.
References
- github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-42563 (opens in a new tab)
- github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b (opens in a new tab)
- github.com/jelmer/dulwich (opens in a new tab)
- github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5 (opens in a new tab)