Dulwich is a pure-Python implementation of the Git file formats and protocols. Starting in version 0.24.0 and prior to version 1.2.5, Dulwich's ProcessMergeDriver substitutes the file path (from the git tree, controllable by an attacker via a malicious branch) into the merge driver command via the %P placeholder and executes it with subprocess.run(..., shell=True). An attacker who can cause a victim to merge an untrusted branch can achieve arbitrary command execution by crafting malicious file paths. Version 1.2.5 fixes the issue.
CVE-2026-42563
This high-severity CVE scores 7.7 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.6%, top 57% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.7
- EG Score
- 7.7(medium)
- EPSS
- 42.5%
- KEV
- Not listed
Published
May 28, 2026
Last Modified
June 12, 2026
Advisory Details (3)
Auto-updated Jun 11, 2026Command Injection via Merge Driver Path · Advisory · jelmer/dulwich · GitHub
https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jfdulwich 1.2.5
Patch available: jelmer/dulwich dulwich-1.2.5
https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5commit e3331b3b3a12 (jelmer/dulwich)
Patch available: jelmer/dulwich dulwich-1.2.5 (contains commit e3331b3b3a12)
https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7bVendor Advisories for CVE-2026-42563(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| dulwich | 0.24.0 ... 1.2.4 (21 versions) | 1.2.5 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 57× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-16 02:25 UTCEG score recompute
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 17:35 UTCEG score recompute
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 18:33 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 17:35 UTCEG score recompute
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-02 21:40 UTCEG score recompute
- 2026-07-02 05:00 UTCEG score recompute
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 14:50 UTCEG score recompute
- 2026-07-01 01:54 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
Show 50 moreShow fewer
- 2026-06-30 02:18 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 13:24 UTCEG score recompute
- 2026-06-28 20:28 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 07:19 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 18:19 UTCEG score recompute
- 2026-06-27 05:23 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 16:25 UTCEG score recompute
- 2026-06-25 20:07 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 07:13 UTCEG score recompute
- 2026-06-24 15:45 UTCEG score recompute
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 22:50 UTCEG score recompute
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 02:33 UTCEG score recompute
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 13:39 UTCEG score recompute
- 2026-06-17 00:44 UTCEG score recompute
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 11:49 UTCEG score recompute
- 2026-06-15 22:55 UTCEG score recompute
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 10:02 UTCEG score recompute
- 2026-06-14 21:07 UTCEG score recompute
- 2026-06-14 08:13 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 19:19 UTCEG score recompute
- 2026-06-13 04:47 UTCEG score recompute
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 15:53 UTCEG score recompute
- 2026-06-12 02:57 UTCEG score recompute
- 2026-06-11 14:04 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 01:10 UTCEG score recompute▲ 7.70
- 2026-06-11 01:09 UTCNVD updateCVSS v3 → 7.7 · CVSS v4 → 7.7
- 2026-05-28 23:06 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2026-42563?
When was CVE-2026-42563 disclosed?
Is CVE-2026-42563 actively exploited?
What is the CVSS score of CVE-2026-42563?
How do I remediate CVE-2026-42563?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42563
Is Your Infrastructure Affected by CVE-2026-42563?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.