Upstream information

CVE-2026-42305 at MITRE

Description

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 were looked up under a wrong option name and so user-set values were silently ignored, and core.protectNTFS only defaulted to true on Windows (Git upstream has defaulted it to true everywhere since CVE-2019-1353). Both have been corrected. Anyone who clones, fetches, or checks out an untrusted repository with Dulwich on Windows - either through the Dulwich CLI, porcelain.clone, or any downstream tool built on Dulwich - is impacted. POSIX clones are not directly exploitable (on POSIX \ is a literal filename byte), but a POSIX user can unknowingly propagate a malicious tree to Windows consumers via push or re-publication. This issue is fixed in Dulwich 1.2.5. Users should upgrade to 1.2.5 or later. There is no effective pre-patch workaround. On affected versions the core.protectNTFS configuration key was silently ignored, so setting it to true does not mitigate the issue. Users who cannot upgrade should avoid cloning, fetching, or checking out untrusted repositories with Dulwich on Windows. After upgrading the NTFS validator is on by default on every platform, so no additional configuration is required.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 8.8 6.9
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
Attack Vector Network Network
Attack Complexity Low High
Privileges Required None None
User Interaction Required Required
Scope Unchanged Changed
Confidentiality Impact High Low
Integrity Impact High High
Availability Impact High None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1268128 [NEW]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • python311-dulwich >= 1.2.5-1.1
  • python313-dulwich >= 1.2.5-1.1
  • python314-dulwich >= 1.2.5-1.1
Patchnames:
openSUSE-Tumbleweed-2026-10900


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP7 python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 12 python-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP7 python3-dulwich Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 python3-dulwich Not affected
SUSE Linux Enterprise Server 15 SP7 python3-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 python3-dulwich Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP4 python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS python3-dulwich Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 python3-dulwich Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP5 python3-dulwich Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 python3-dulwich Not affected
SUSE Linux Enterprise Module for Public Cloud 12 python-dulwich Not affected
SUSE Linux Enterprise Server 12 SP5 python-dulwich Not affected
SUSE Linux Enterprise Server 15 SP4 python3-dulwich Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS python3-dulwich Not affected
SUSE Linux Enterprise Server 15 SP5 python3-dulwich Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS python3-dulwich Not affected
SUSE Linux Enterprise Server 15 SP6 python3-dulwich Not affected
SUSE Linux Enterprise Server 15 SP6-LTSS python3-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python3-dulwich Not affected
SUSE Manager Proxy 4.3 python3-dulwich Not affected
SUSE Manager Proxy LTS 4.3 python3-dulwich Not affected
SUSE Manager Retail Branch Server 4.3 python3-dulwich Not affected
SUSE Manager Retail Branch Server LTS 4.3 python3-dulwich Not affected
SUSE Manager Server 4.3 python3-dulwich Not affected
SUSE Manager Server LTS 4.3 python3-dulwich Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Desktop 15 SP4 python3-dulwich Not affected
SUSE Linux Enterprise Desktop 15 SP5 python3-dulwich Not affected
SUSE Linux Enterprise Desktop 15 SP6 python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS python3-dulwich Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 python3-dulwich Not affected
SUSE Linux Enterprise Real Time 15 SP4 python3-dulwich Not affected
SUSE Linux Enterprise Server 12 python-dulwich Not affected
SUSE Linux Enterprise Server 12 SP3 python-dulwich Not affected
SUSE Linux Enterprise Server 12 SP4 python-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 12 python-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python3-dulwich Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python3-dulwich Not affected
openSUSE Leap 15.4 python3-dulwich Not affected
openSUSE Leap 15.5 python3-dulwich Not affected
openSUSE Leap 15.6 python3-dulwich Not affected


SUSE Timeline for this CVE

CVE page created: Sat May 30 11:34:33 2026
CVE page last modified: Thu Jun 11 13:29:03 2026