CVE-Katalog

CVE-2026-122299

dulwich affected and fixed versions

[CVE-Katalog]

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.8CVSS: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 / releasePackageVersionStatusSource
Opensuseleap 16.0python-dulwich0.22.8-bp160.2.1Fixed[OPENSUSE-SU-2026:22412-1]
More observations (32)
Distribution / releasePackageVersionStatusSource
DebianbookwormdulwichNot reportedAffectedDistribution reports no fix[CVE-2026-122299]
Debianbookwormdulwich0.21.2-1Affected[CVE-2026-122299]
DebianforkydulwichNot reportedAffectedDistribution reports no fix[CVE-2026-122299]
Debianforkydulwich1.2.17-1Affected[CVE-2026-122299]
DebiansiddulwichNot reportedAffectedDistribution reports no fix[CVE-2026-122299]
Debiansiddulwich1.2.17-1Affected[CVE-2026-122299]
DebiantrixiedulwichNot reportedAffectedDistribution reports no fix[CVE-2026-122299]
Debiantrixiedulwich0.22.7-1Affected[CVE-2026-122299]
Opensusetumbleweedpython-dulwich1.2.21-1.1UnknownSource applicability is not established[OPENSUSE-SU-2026:12603-1]
Ubuntu16.04dulwich0.11.2-1ubuntu1Affected[UBUNTU-CVE-2026-122299]
Ubuntu16.04dulwich0.12.0-1Affected[UBUNTU-CVE-2026-122299]
Ubuntu16.04dulwich0.12.0-1build1Affected[UBUNTU-CVE-2026-122299]
Ubuntu16.04dulwich0.12.0-1build2Affected[UBUNTU-CVE-2026-122299]
Ubuntu18.04dulwich0.18.2-1build1Affected[UBUNTU-CVE-2026-122299]
Ubuntu18.04dulwich0.18.5-1Affected[UBUNTU-CVE-2026-122299]
Ubuntu20.04dulwich0.19.11-2Affected[UBUNTU-CVE-2026-122299]
Ubuntu20.04dulwich0.19.14-4ubuntu1Affected[UBUNTU-CVE-2026-122299]
Ubuntu20.04dulwich0.19.15-1Affected[UBUNTU-CVE-2026-122299]
Ubuntu20.04dulwich0.19.15-1build1Affected[UBUNTU-CVE-2026-122299]
Ubuntu22.04dulwich0.20.15-1ubuntu1Affected[UBUNTU-CVE-2026-122299]
Ubuntu22.04dulwich0.20.31-1.1Affected[UBUNTU-CVE-2026-122299]
Ubuntu22.04dulwich0.20.31-1.1build1Affected[UBUNTU-CVE-2026-122299]
Ubuntu22.04dulwich0.20.31-1ubuntu1Affected[UBUNTU-CVE-2026-122299]
Ubuntu24.04dulwich0.21.6-1Affected[UBUNTU-CVE-2026-122299]
Ubuntu24.04dulwich0.21.6-1build1Affected[UBUNTU-CVE-2026-122299]
Ubuntu24.04dulwich0.21.6-1build2Affected[UBUNTU-CVE-2026-122299]
Ubuntu26.04dulwich0.22.7-1Affected[UBUNTU-CVE-2026-122299]
Ubuntu26.04dulwich0.24.2-2Affected[UBUNTU-CVE-2026-122299]
Ubuntu26.04dulwich1.1.0-2ubuntu1Affected[UBUNTU-CVE-2026-122299]
Ubuntu26.04dulwich1.1.0-3Affected[UBUNTU-CVE-2026-122299]
Ubuntu26.10dulwich1.1.0-3Affected[UBUNTU-CVE-2026-122299]
Ubuntu26.10dulwich1.2.12-1Affected[UBUNTU-CVE-2026-122299]

[Debian bug #1153281]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-dulwich]Betroffen

    Quellpaket: [dulwich]

    Details (2)
    • 0.21.2-1+b1 · amd64 · bookworm

      Betroffen

      dsa · dulwich · debian · bookworm; pypi · dulwich · debian · 12

    • 0.21.2-1+b1 · arm64 · bookworm

      Betroffen

      dsa · dulwich · debian · bookworm; pypi · dulwich · debian · 12

[Debian 13 (Trixie)]

  • [python3-dulwich]Betroffen

    Quellpaket: [dulwich]

    Details (2)
    • 0.22.7-1 · amd64 · trixie

      Betroffen

      pypi · dulwich · debian · 13

    • 0.22.7-1 · arm64 · trixie

      Betroffen

      pypi · dulwich · debian · 13

[openSUSE Leap 15.6]

  • Quellpaket: [python-dulwich]

    Details (4)
    • 0.21.7-150600.1.3 · aarch64 · leap-15.6

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

    • 0.21.7-150600.1.3 · ppc64le · leap-15.6

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

    • 0.21.7-150600.1.3 · s390x · leap-15.6

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

    • 0.21.7-150600.1.3 · x86_64 · leap-15.6

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

[openSUSE Leap 16.0]

  • Quellpaket: [python-dulwich]

    Details (4)
    • 0.22.8-bp160.1.2 · aarch64 · leap-16.0

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

    • 0.22.8-bp160.1.2 · ppc64le · leap-16.0

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

    • 0.22.8-bp160.1.2 · s390x · leap-16.0

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

    • 0.22.8-bp160.1.2 · x86_64 · leap-16.0

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

[openSUSE Tumbleweed]

  • Quellpaket: [python-dulwich]

    Details (1)
    • 1.2.12-1.1 · x86_64 · tumbleweed

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

  • Quellpaket: [python-dulwich]

    Details (1)
    • 1.2.12-1.1 · x86_64 · tumbleweed

      Unbekannt · Behoben: 1.2.21-1.1

      Version impact unknown

      pypi · python-dulwich · opensuse · tumbleweed

Beobachtet:

Referenzen