Skip to main content
CVE-2026-122299VulnerabilityPublished Updated

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

Affects dulwichSource GCVE Database

0
Compare
Authoritative record:CVE-2026-122299· High 8.6

Not known to be exploited · CVSS 8.6 High.

Data as of 18 Nov 2026, 15:20 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.6
CNA (VulnCheck)CVSS 3.18.8
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10dulwichpkg:deb/ubuntu/dulwich?arch=source&distro=stonkingOther threatsAffected
  • =1.1.0-3
  • =1.2.12-1
Fixed in–
Ubuntu 26.04 LTSdulwichpkg:deb/ubuntu/dulwich?arch=source&distro=resoluteOther threatsAffected
  • 0.22.7-1 – 1.1.0-3
4 affected builds
Fixed in–
Ubuntu 24.04 LTSdulwichpkg:deb/ubuntu/dulwich?arch=source&distro=nobleOther threatsAffected
  • =0.21.6-1
  • =0.21.6-1build1
  • =0.21.6-1build2
Fixed in–
Ubuntu 22.04 LTSdulwichpkg:deb/ubuntu/dulwich?arch=source&distro=jammyOther threatsAffected
  • 0.20.15-1ubuntu1 – 0.20.31-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSdulwichpkg:deb/ubuntu/dulwich?arch=source&distro=focalOther threatsAffected
  • 0.19.11-2 – 0.19.15-1build1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSdulwichpkg:deb/ubuntu/dulwich?arch=source&distro=bionicOther threatsAffected
  • =0.18.2-1build1
  • =0.18.5-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…