CVE-2026-122299
CVE-2026-122299 is a high-severity vulnerability with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-115.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v4: 8.6
- EPSS exploit prediction: 0% (26th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-115
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-122299?
- 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.
- How severe is CVE-2026-122299?
- CVE-2026-122299 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-122299 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (26th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-122299?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-122299 published?
- CVE-2026-122299 was published on 2026-11-04 and last updated on 2026-11-09.
References
- https://github.com/jelmer/dulwich/commit/b77f385b4b0d2d2c7f5ac39dae628948f7ad3a96
- https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.20
- https://www.vulncheck.com/advisories/dulwich-before-commit-parser-tree-header-misinterpretation
Other CWE-115 vulnerabilities
- CVE-2020-27846 — Critical (CVSS 9.8): A signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML…
- CVE-2020-29511 — Critical (CVSS 9.8): The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes…
- CVE-2020-29510 — Critical (CVSS 9.8): The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives during…
- CVE-2020-29509 — Critical (CVSS 9.8): The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes…
- CVE-2023-0880 — High (CVSS 8.3): Misinterpretation of Input in GitHub repository thorsten/phpmyfaq prior to 3.1.11.
- CVE-2026-73798 — High (CVSS 8.2): A security vulnerability in HPE NonStop DNS 9.2.3 Non Secure Version could cause a Denial of Service.