{"schemaVersion":4,"id":"CVE-2026-122299","aliases":["DEBIAN-CVE-2026-122299","UBUNTU-CVE-2026-122299","openSUSE-SU-2026:22412-1"],"status":"published","duplicateOf":null,"title":"Dulwich before 1.2.20 Commit Parser Tree Header Misinterpretation","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.","dates":{"published":"2026-11-04T22:57:13.686Z","modified":"2026-11-09T16:55:40.621Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.6,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":8.6,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.00435,"percentile":0.39552,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-05T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00435,"percentile":0.39552}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00435,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00435,"percentile":0.39552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-115","name":"Misinterpretation of Input","description":"The product misinterprets an input, whether from an attacker or another product, in a security-relevant fashion.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/115.html"},{"id":"CWE-1250","name":"Improper Preservation of Consistency Between Independent Representations of Shared State","description":"The product has or supports multiple distributed components or sub-systems that are each required to keep their own local copy of shared data - such as state or cache - but the product does not ensure that all local copies remain consistent with each other.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1250.html"}],"affected":[{"vendor":"debian","product":"dulwich","name":"dulwich","label":"dulwich","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/dulwich","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dulwich","name":"dulwich","label":"dulwich","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dulwich","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"jelmer","product":"dulwich","name":"dulwich","label":"dulwich","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.20","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.2.20","endInclusive":false}}],"versionsText":"< 1.2.20","eol":null,"hubHref":"/vendor/jelmer/dulwich"},{"vendor":"opensuse","product":"python-dulwich&distro=openSUSE Leap 16.0","name":"python-dulwich","label":"python-dulwich&distro=openSUSE Leap 16.0","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-dulwich&distro=openSUSE Leap 16.0","purlType":"rpm","versions":[{"text":"< 0.22.8-bp160.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.22.8-bp160.2.1","endInclusive":false}}],"versionsText":"< 0.22.8-bp160.2.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.20","label":"github.com/jelmer/dulwich/releases/tag/dulwich-1.2.20","hostname":"github.com","tags":["Patch","Release Notes","REPORT"]},{"url":"https://github.com/jelmer/dulwich/commit/b77f385b4b0d2d2c7f5ac39dae628948f7ad3a96","label":"github.com/jelmer/dulwich/commit/b77f385b4b0d2d2c7f5ac39dae628948f7ad3a96","hostname":"github.com","tags":["Issue Tracking","REPORT","Patch"]},{"url":"https://www.vulncheck.com/advisories/dulwich-before-commit-parser-tree-header-misinterpretation","label":"www.vulncheck.com/advisories/dulwich-before-commit-parser-tree-header-misinterpretation","hostname":"www.vulncheck.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-122299","label":"security-tracker.debian.org/tracker/CVE-2026-122299","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-122299","label":"ubuntu.com/security/CVE-2026-122299","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-122299","label":"www.cve.org/CVERecord?id=CVE-2026-122299","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1289542","label":"bugzilla.suse.com/1289542","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2026-122299","label":"www.suse.com/security/cve/CVE-2026-122299","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12603-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12603-1"]},"timeline":[{"kind":"published","date":"2026-11-04T22:57:13.686Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-09T16:55:40.621Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,86],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00435,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-09T16:55:40.621Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-09T16:11:53.072Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00435,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:04:39.078Z","stale":false,"partial":false}}