Back to list

Dulwich: Arbitrary File Write (RCE) on Windows via Unvalidated Drive Letters in Tree Paths — GHSA-8MCX-5RQC-VHMF

GitHub · GitHub · GHSA-8MCX-5RQC-VHMF

ID
GHSA-8MCX-5RQC-VHMF
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.8

Summary

### Affected files * `dulwich/index.py` (Methods: `validate_path_element_ntfs`, `_tree_to_fs_path`) * `dulwich/porcelain/__init__.py` (Method: `_checked_worktree_path`) ### Description / Summary A High-severity Path Traversal vulnerability exists in Dulwich's checkout logic when running on Windows. The functions responsible for validating NTFS paths strictly reject `.git` variants, Alternate Data Streams (ADS),…

Timeline

Published by source
2026-10-02

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 8.8 out of 10.
  • Review exposure for the affected product or family: pip: dulwich.

Product

pip: dulwich

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-8MCX-5RQC-VHMF
Source
GitHub
Vendor
GitHub
Published by source
2026-10-02
Last source activity
2026-10-02
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.