CVE Explorer
CVE-2026-42563
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"dulwich","vendor":"jelmer","versions":[{"status":"affected","version":">= 0.24.0, < 1.2.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b","tags":["x_refsource_MISC"],"url":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/cna/references/1
{"name":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5","tags":["x_refsource_MISC"],"url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/cna/references/2
{"name":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e4c653b23e80fe532b27b50ec1387a16b321c7deba3afbfc1571fe16d13b0efd · sha256:cc575fb6ded3c9fa… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.