
CVE-Katalog
CVE-2026-122299
dulwich affected and fixed versions
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.
- Schweregrad
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.43% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Opensuseleap 16.0 | python-dulwich | 0.22.8-bp160.2.1 | Fixed | [OPENSUSE-SU-2026:22412-1] |
More observations (32)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | dulwich | Not reported | AffectedDistribution reports no fix | [CVE-2026-122299] |
| Debianbookworm | dulwich | 0.21.2-1 | Affected | [CVE-2026-122299] |
| Debianforky | dulwich | Not reported | AffectedDistribution reports no fix | [CVE-2026-122299] |
| Debianforky | dulwich | 1.2.17-1 | Affected | [CVE-2026-122299] |
| Debiansid | dulwich | Not reported | AffectedDistribution reports no fix | [CVE-2026-122299] |
| Debiansid | dulwich | 1.2.17-1 | Affected | [CVE-2026-122299] |
| Debiantrixie | dulwich | Not reported | AffectedDistribution reports no fix | [CVE-2026-122299] |
| Debiantrixie | dulwich | 0.22.7-1 | Affected | [CVE-2026-122299] |
| Opensusetumbleweed | python-dulwich | 1.2.21-1.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2026:12603-1] |
| Ubuntu16.04 | dulwich | 0.11.2-1ubuntu1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu16.04 | dulwich | 0.12.0-1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu16.04 | dulwich | 0.12.0-1build1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu16.04 | dulwich | 0.12.0-1build2 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu18.04 | dulwich | 0.18.2-1build1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu18.04 | dulwich | 0.18.5-1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu20.04 | dulwich | 0.19.11-2 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu20.04 | dulwich | 0.19.14-4ubuntu1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu20.04 | dulwich | 0.19.15-1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu20.04 | dulwich | 0.19.15-1build1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu22.04 | dulwich | 0.20.15-1ubuntu1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu22.04 | dulwich | 0.20.31-1.1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu22.04 | dulwich | 0.20.31-1.1build1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu22.04 | dulwich | 0.20.31-1ubuntu1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu24.04 | dulwich | 0.21.6-1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu24.04 | dulwich | 0.21.6-1build1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu24.04 | dulwich | 0.21.6-1build2 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu26.04 | dulwich | 0.22.7-1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu26.04 | dulwich | 0.24.2-2 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu26.04 | dulwich | 1.1.0-2ubuntu1 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu26.04 | dulwich | 1.1.0-3 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu26.10 | dulwich | 1.1.0-3 | Affected | [UBUNTU-CVE-2026-122299] |
| Ubuntu26.10 | dulwich | 1.2.12-1 | Affected | [UBUNTU-CVE-2026-122299] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-dulwich]Betroffen
Quellpaket: [dulwich]
Details (2)
0.21.2-1+b1· amd64 · bookwormBetroffen
dsa · dulwich · debian · bookworm; pypi · dulwich · debian · 12
0.21.2-1+b1· arm64 · bookwormBetroffen
dsa · dulwich · debian · bookworm; pypi · dulwich · debian · 12
[Debian 13 (Trixie)]
- [python3-dulwich]Betroffen
Quellpaket: [dulwich]
Details (2)
0.22.7-1· amd64 · trixieBetroffen
pypi · dulwich · debian · 13
0.22.7-1· arm64 · trixieBetroffen
pypi · dulwich · debian · 13
[openSUSE Leap 15.6]
- [python311-dulwich]Unbekannt
Quellpaket: [python-dulwich]
Details (4)
0.21.7-150600.1.3· aarch64 · leap-15.6Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
0.21.7-150600.1.3· ppc64le · leap-15.6Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
0.21.7-150600.1.3· s390x · leap-15.6Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
0.21.7-150600.1.3· x86_64 · leap-15.6Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
[openSUSE Leap 16.0]
- [python313-dulwich]Unbekannt
Quellpaket: [python-dulwich]
Details (4)
0.22.8-bp160.1.2· aarch64 · leap-16.0Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
0.22.8-bp160.1.2· ppc64le · leap-16.0Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
0.22.8-bp160.1.2· s390x · leap-16.0Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
0.22.8-bp160.1.2· x86_64 · leap-16.0Unbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
[openSUSE Tumbleweed]
- [python313-dulwich]Unbekannt
Quellpaket: [python-dulwich]
Details (1)
1.2.12-1.1· x86_64 · tumbleweedUnbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
- [python314-dulwich]Unbekannt
Quellpaket: [python-dulwich]
Details (1)
1.2.12-1.1· x86_64 · tumbleweedUnbekannt · Behoben:
1.2.21-1.1Version impact unknown
pypi · python-dulwich · opensuse · tumbleweed
Beobachtet:
Referenzen
- [https://ftp.suse.com/pub/projects/security/]
- [https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12603-1.json]
- [https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_22412-1.json]
- [https://github.com/jelmer/dulwich/commit/b77f385b4b0d2d2c7f5ac39dae628948f7ad3a96]
- [https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.20]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-122299]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-122299]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-122299]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12603-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:22412-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-122299]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-122299.json]
- [https://www.vulncheck.com/advisories/dulwich-before-commit-parser-tree-header-misinterpretation]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]