CVE-2026-122299
published high CVSS 4.0 · 8.6Dulwich before 1.2.20 Commit Parser Tree Header Misinterpretation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jelmer | — | dulwich0 to < 1.2.20 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3495 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-dulwichaarch64 | Advisory build | 0.22.8-bp160.2.1 | OPENSUSE-SU-2026:22412-1 |
| Amazon Linux | AL2023 | python-dulwichaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3495 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-dulwichppc64le | Advisory build | 0.22.8-bp160.2.1 | OPENSUSE-SU-2026:22412-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-dulwichs390x | Advisory build | 0.22.8-bp160.2.1 | OPENSUSE-SU-2026:22412-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-dulwichx86_64 | Advisory build | 0.22.8-bp160.2.1 | OPENSUSE-SU-2026:22412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichaarch64 | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichppc64le | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichs390x | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-dulwichx86_64 | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichaarch64 | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichppc64le | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichs390x | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-dulwichx86_64 | Advisory build | 1.2.21-1.1 | OPENSUSE-SU-2026:12603-1 |
| Amazon Linux | AL2023 | python-dulwichsrc | Listed in advisory | Not stated | ALAS2023-2026-3495 |
| Amazon Linux | AL2023 | python-dulwichx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3495 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jelmer | dulwich | 0 to < 1.2.20 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-1250 Improper Preservation of Consistency Between Independent Representations of Shared State
- CWE-115 Misinterpretation of Input
References
3- https://github.com/jelmer/dulwich/commit/b77f385b4b0d2d2c7f5ac39dae628948f7ad3a96
- dulwich dulwich-1.2.20 Release Notes https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.20
- VulnCheck Advisory: Dulwich before 1.2.20 Commit Parser Tree Header Misinterpretation https://www.vulncheck.com/advisories/dulwich-before-commit-parser-tree-header-misinterpretation
Provider assertions
2VulnCheck · cna
Dulwich before 1.2.20 Commit Parser Tree Header Misinterpretation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c20d4bbcecf7ee79fbec9e6429ec76b0698a58449732ca9af8495aee27c8205d
- Ingested
- 09 Nov 2026, 17:03:08 UTC
- Source record
- Official CVE record