PT-2026-137230
CVE-2026-122299
·
Published
2026-11-04
·
Updated
2026-11-18
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Dulwich versions prior to 1.2.20
Poetry version 2.5.1
Description
A commit object parsing issue exists where the read path in the
parse commit() function resolves a duplicate tree header to the last occurrence instead of the first. This behavior differs from core git. An attacker can craft a commit object with two tree headers, causing reviewers and CI systems using git to see a benign tree, while a checkout using the affected library resolves to an attacker-controlled tree. This can lead to the execution of unreviewed code, such as malicious setup.py build scripts, on the install or build host.Recommendations
Update Dulwich to version 1.2.20 or later.
Update Poetry to a version that includes Dulwich 1.2.20 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾