CVE-2026-122299
8.8 HIGHpublic exploit availablePublished 2026-11-04 · Updated 2026-11-09
AI risk analysis
- Summary
- In Dulwich before 1.2.20, commit object parsing incorrectly resolves duplicate tree headers to the last occurrence instead of the first, causing Poetry 2.5.1 (which uses Dulwich by default) to checkout a malicious tree during git dependency installation while standard Git tools show a benign tree, enabling unreviewed code execution.
- Exploitability
- Exploitation requires crafting a malicious commit with duplicate tree headers and convincing a user or CI system to install a vulnerable dependency via Poetry; social engineering or compromised repositories increase feasibility.
- Blast radius
- Successful exploitation leads to arbitrary code execution on the build/install host, potentially compromising the entire CI/CD pipeline and all downstream artifacts.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade Poetry to version 2.5.2 or later, which includes Dulwich 1.2.20 or newer; alternatively, manually upgrade Dulwich to 1.2.20 or later if using an older Poetry version.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-115, CWE-1250
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-102437PoC
- HIGHCVE-2026-102826PoC
- HIGHCVE-2026-102827PoC
- HIGHCVE-2026-104026
- HIGHCVE-2026-104626PoC
- CRITICALCVE-2026-105014
- HIGHCVE-2026-106058PoC
- HIGHCVE-2026-111094
Related by shared AI tags and CWE weakness class. Browse the full archive.