CVE Explorer
CVE-2026-42305
Dulwich is a pure-Python implementation of the Git file formats and protocols. Versions starting with 0.10.0 and prior to 1.2.5 have an arbitrary file write leading to remote code execution when cloning or checking out a malicious Git repository on Windows. Dulwich's path-element validator accepted tree entries whose filenames contained bytes that Windows interprets as structural path syntax. Contributing configuration bugs made matters worse. The core.protectNTFS and core.protectHFS settings we
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.10.0, < 1.2.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/jelmer/dulwich/commit/49eb56e51aad637fc23d54bf2a08cb42739b8290","tags":["x_refsource_MISC"],"url":"https://github.com/jelmer/dulwich/commit/49eb56e51aad637fc23d54bf2a08cb42739b8290"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/references/1
{"name":"https://github.com/jelmer/dulwich/commit/57efc4aa1581e038915a0fd79365be53b150f4a9","tags":["x_refsource_MISC"],"url":"https://github.com/jelmer/dulwich/commit/57efc4aa1581e038915a0fd79365be53b150f4a9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/references/2
{"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:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/references/3
{"name":"https://github.com/jelmer/dulwich/security/advisories/GHSA-897w-fcg9-f6xj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-897w-fcg9-f6xj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b78a1d201cda77c72681e004b5da469c9d7746d2088ee2f75e0ccfc392f34df3 · sha256:3e932d48f7cbc66a… · /containers/cna/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.