DEBIAN-CVE-2026-122299

Source
https://security-tracker.debian.org/tracker/CVE-2026-122299
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-122299.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-122299
Upstream
Published
2026-11-04T23:17:23Z
Modified
2026-11-05T17:30:12Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:12 / dulwich

Package

Name
dulwich
Purl
pkg:deb/debian/dulwich?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.21.2-1
0.21.5-1
0.21.6-1
0.22.5-1
0.22.7-1
0.22.7-2
0.24.2-1
0.24.2-2
0.24.10-1
1.*
1.0.0-1
1.0.0-2
1.1.0-1
1.1.0-2
1.1.0-3
1.2.0-1
1.2.1-1
1.2.5-1
1.2.7-1
1.2.7-2
1.2.11-1
1.2.12-1
1.2.17-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-122299.json"

Debian:13 / dulwich

Package

Name
dulwich
Purl
pkg:deb/debian/dulwich?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.22.7-1
0.22.7-2
0.24.2-1
0.24.2-2
0.24.10-1
1.*
1.0.0-1
1.0.0-2
1.1.0-1
1.1.0-2
1.1.0-3
1.2.0-1
1.2.1-1
1.2.5-1
1.2.7-1
1.2.7-2
1.2.11-1
1.2.12-1
1.2.17-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-122299.json"

Debian:14 / dulwich

Package

Name
dulwich
Purl
pkg:deb/debian/dulwich?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.22.7-1
0.22.7-2
0.24.2-1
0.24.2-2
0.24.10-1
1.*
1.0.0-1
1.0.0-2
1.1.0-1
1.1.0-2
1.1.0-3
1.2.0-1
1.2.1-1
1.2.5-1
1.2.7-1
1.2.7-2
1.2.11-1
1.2.12-1
1.2.17-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-122299.json"