CVE-2026-122299
Last modified
CVE-2026-122299 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-122299?
How severe is CVE-2026-122299?
How do I fix CVE-2026-122299?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12224The Dokan Pro plugin for WordPress is vulnerable to privileg…8.8
- CVE-2026-12225syracom AG Secure Login (2FA) for Atlassian Jira, Confluence…8.7
- CVE-2026-122266Improper isolation of shared resources in aws-network-policy…8.7
- CVE-2026-122267MinIO Signature V4 verification before RELEASE.2026-09-22T19…8.8
- CVE-2026-12227The Visual Composer Website Builder plugin for WordPress is …9.8
- CVE-2026-12228A stored cross-site scripting (XSS) vulnerability exists in …5.4
- CVE-2026-1223PrismX MX100 AP controller developed by BROWAN COMMUNICATION…6.9
- CVE-2026-12230The LearnPress – WordPress LMS Plugin for Create and Sell On…6.4
- CVE-2026-122301Parse Server before 8.6.114 and 9.0.0 before 9.10.6-alpha.6 …3.1
- CVE-2026-122302Kyverno before 1.19.2 contains a privilege escalation vulner…9.8
- CVE-2026-122303Kyverno from 1.17.0 before 1.19.2 contains an authorization …9.9
- CVE-2026-122304Kyverno from 1.17.0 before 1.19.2 contains an authorization …9.9
Are you affected by CVE-2026-122299?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
