Description
Dulwich before 1.2.9 fails to validate DOS drive letter prefixes in Git tree path elements on Windows, allowing arbitrary file write. Attackers can craft a malicious repository with a tree entry named 'C:' that bypasses NTFS validation and writes files outside the worktree to achieve remote code execution.
Published: 2026-10-21
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote code execution
Action: Immediate Patch
AI Analysis

Impact

Dulwich before version 1.2.9 fails to validate DOS drive letter prefixes in Git tree paths when running on Windows, permitting a malicious repository to write files outside the intended worktree. This is a CWE-22 weakness. The vulnerability allows an attacker to place a tree entry named "C:" that bypasses NTFS validation, resulting in arbitrary file writes and ultimately remote code execution on the host system.

Affected Systems

The issue affects all installations of Dulwich by the Dulwich project using any version prior to 1.2.9 when executed on Windows. Users of earlier releases who clone or pull vulnerable repositories are at risk.

Risk and Exploitability

The CVSS score of 8.7 classifies this as a high severity flaw. The EPSS score of less than 1% indicates a low current likelihood of exploitation, and the vulnerability is not yet listed in CISA KEV. Nonetheless, the attack vector is inferred to involve the delivery of a specially crafted repository to a Windows machine where Dulwich is used. The exploit requires only the ability to form or host the repository, and the ensuing file write can overwrite critical system files if file permissions permit, enabling full remote code execution.

Generated by OpenCVE AI on October 21, 2026 at 16:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dulwich to version 1.2.9 or later in all environments.
  • Where upgrading is not immediately feasible, configure the system to reject Git tree paths that contain DOS drive letter prefixes or otherwise sanitize path components before writing.
  • Ensure that the user account running Dulwich has the least privileges necessary, limiting write access to trusted directories to prevent the exploit from affecting system files.

Generated by OpenCVE AI on October 21, 2026 at 16:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 21 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Jelmer
Jelmer dulwich
Vendors & Products Jelmer
Jelmer dulwich

Wed, 21 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description Dulwich before 1.2.9 fails to validate DOS drive letter prefixes in Git tree path elements on Windows, allowing arbitrary file write. Attackers can craft a malicious repository with a tree entry named 'C:' that bypasses NTFS validation and writes files outside the worktree to achieve remote code execution.
Title Dulwich before 1.2.9 Arbitrary File Write via DOS drive letter paths
First Time appeared Dulwich Project
Dulwich Project dulwich
Weaknesses CWE-22
CPEs cpe:2.3:a:dulwich_project:dulwich:*:*:*:*:*:*:*:*
Vendors & Products Dulwich Project
Dulwich Project dulwich
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Dulwich Project Dulwich
Jelmer Dulwich
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T15:57:01.832Z

Reserved: 2026-10-20T21:46:55.741Z

Link: CVE-2026-114094

cve-icon Vulnrichment

Updated: 2026-10-28T15:56:51.092Z

cve-icon NVD

Status : Deferred

Published: 2026-10-21T01:17:34.580

Modified: 2026-10-28T16:17:06.070

Link: CVE-2026-114094

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-21T00:36:58Z

Links: CVE-2026-114094 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T21:45:06Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')