CVEfocus › CVE database › CVE-2026-122299

CVE-2026-122299Dulwich before 1.2.20 Commit Parser Tree Header Misinterpretation

CVSS 8.8 HighEPSS 0.6% (higher than 43% of CVEs)Published 2026-11-04Updated 2026-11-09Assigner: VulnCheck

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.

CWE-115CWE-1250

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
14Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10dulwichFix pendingUBUNTU-CVE-2026-122299
Ubuntu 26.04dulwichUnder investigationUBUNTU-CVE-2026-122299
Ubuntu 24.04dulwichUnder investigationUBUNTU-CVE-2026-122299
Ubuntu 22.04dulwichUnder investigationUBUNTU-CVE-2026-122299
Ubuntu 20.04dulwichFix pendingUBUNTU-CVE-2026-122299
Ubuntu 18.04dulwichFix pendingUBUNTU-CVE-2026-122299
Ubuntu 16.04dulwichFix pendingUBUNTU-CVE-2026-122299
Debian 14dulwichFix pendingDEBIAN-CVE-2026-122299
Debian 13dulwichFix pendingDEBIAN-CVE-2026-122299
Debian 12dulwichFix pendingDEBIAN-CVE-2026-122299
Red Hat Enterprise Linux 8resource-agentsUnder investigation
Red Hat Enterprise Linux 8resource-agents-aliyunUnder investigation
Red Hat Enterprise Linux 8resource-agents-gcpUnder investigation
Red Hat Enterprise Linux 8resource-agents-pafUnder investigation
Red Hat Enterprise Linux 7resource-agentsUnder investigation
Red Hat Enterprise Linux 7resource-agents-aliyunUnder investigation
Red Hat Enterprise Linux 7resource-agents-gcpUnder investigation
Red Hat Enterprise Linux 7resource-agents-sapUnder investigation
Red Hat Enterprise Linux 7resource-agents-sap-hanaUnder investigation
Red Hat Enterprise Linux 7resource-agents-sap-hana-scaleoutUnder investigation
Red Hat Enterprise Linux 7sap-cluster-connectorUnder investigation

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.