7.7

CVE-2026-42563: Dulwich Vulnerable to Command Injection via Merge Driver Path

Deferred
AliasesGHSA-9277-mp7x-85jfPYSEC-2026-2464UBUNTU-CVE-2026-42563
Published 10-06-2026Last modified 12-06-2026

Vulnerability summary

CVE-2026-42563 is a high (CVSS 7.7) vulnerability in jelmer dulwich. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.56%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 10-06-2026
    PublishedVulnerability first disclosed.
  2. 12-06-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.56% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • kserve-storage-controller< 0.18.0-r4
  • py3-cassandra-medusa< 0.29.0-r0
Wolfi2 products
  • kserve-storage-controller< 0.18.0-r4
  • py3-cassandra-medusa< 0.29.0-r0
Debian1 product
  • dulwichAll versions (No fix recorded) | < 1.2.5-1
Jelmer1 product
PyPI1 product
  • dulwich≥ 0.24.0, < 1.2.5
Ubuntu1 product
  • dulwichAll versions (No fix recorded)

6 vendors · 8 products

References

11 links
Show all 11 references