Article View: linux.debian.bugs.dist
Article #3571Bug#1153281: dulwich: CVE-2026-122299
From: Moritz Mühlenhoff
Date: Fri, 06 Nov 2026 22:30
Date: Fri, 06 Nov 2026 22:30
33 lines
2878 bytes
2878 bytes
Source: dulwich
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security
Hi,
The following vulnerability was published for dulwich.
CVE-2026-122299[0]:
| Dulwich before 1.2.20 contains a commit object parsing vulnerability
| where the read path in _parse_commit resolves a duplicate tree
| header to the last occurrence instead of the first, diverging from
| core git's resolution behavior, while Poetry 2.5.1 ships this
| version and uses dulwich by default for git dependency installation.
| Attackers can craft a commit object with two tree headers so that
| reviewers and CI using git see a benign tree while Poetry's dulwich-
| based checkout resolves to a different attacker-controlled tree
| containing malicious build scripts such as setup.py, resulting in
| unreviewed code execution on the install or build host.
Fixed by: https://github.com/jelmer/dulwich/commit/b77f385b4b0d2d2c7f5ac39dae628948f7ad3a96 (dulwich-1.2.20)
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-122299
https://www.cve.org/CVERecord?id=CVE-2026-122299
Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID:
<NWABz-ah6t-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Moritz Mühlenhoff <jmm@inutil.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153281: dulwich: CVE-2026-122299 Date: Fri, 06 Nov 2026 23:30:01 +0100 Message-ID: <NWABz-ah6t-15@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 6 22:25:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1153281@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1153281 X-Debian-Pr-Package: src:dulwich X-Debian-Pr-Keywords: security X-Debian-Pr-Source: dulwich MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001163 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 6 Nov 2026 23:22:58 +0100 X-Original-Message-ID: <au5TQueMrnGzoU8c@pisco.westfalen.local>