{"schemaVersion":4,"id":"CVE-2026-136440","aliases":["UBUNTU-CVE-2026-136440"],"status":"published","duplicateOf":null,"title":"Python Packaging Authority pip Configuration File Incorrect Permission Assignment Local Privilege Escalation Vulnerability","description":"Python Packaging Authority pip Configuration File Incorrect Permission Assignment Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Python Packaging Authority pip. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. User interaction on the part of a target user is also required.\n\nThe specific flaw exists within the way configuration files are stored. The issue results from incorrect permissions on files. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user. Was ZDI-CAN-25377.","dates":{"published":"2026-11-24T18:41:15.889Z","modified":"2026-11-30T20:48:19.994Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.3,"impact":9.8,"computed":true}]},"epss":{"probability":0.0018,"percentile":0.07926,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-25T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0018,"percentile":0.07926}],"last30":[{"date":"2026-11-25T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0018,"percentile":0.07926}]},"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-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"ubuntu","product":"python-pip","name":"python-pip","label":"python-pip","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-pip","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"python packaging authority","product":"pip","name":"pip","label":"pip","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.12.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.12.7","startInclusive":true,"end":"3.12.7","endInclusive":true}}],"versionsText":"3.12.7","eol":null,"hubHref":"/vendor/python_packaging_authority/pip"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-26-1066/","label":"www.zerodayinitiative.com/advisories/ZDI-26-1066/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-136440","label":"ubuntu.com/security/CVE-2026-136440","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136440","label":"www.cve.org/CVERecord?id=CVE-2026-136440","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-24T18:41:15.889Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-30T20:48:19.994Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,73],"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.0018,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-30T20:48:19.994Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-30T20:48:19.994Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-30T20:48:19.994Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T20:41:13.047Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0018,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:50:44.598Z","stale":false,"partial":false}}