{"id":"CVE-2022-26488","published":"2022-03-07T17:26:04Z","modified":"2026-10-14T16:20:01Z","title":"In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured","vendor":null,"product":null,"tier":"tail","description":{"text":"In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an administrator must have installed Python for all users and enabled PATH entries. A non-administrative user can trigger a repair that incorrectly adds user-writable paths into PATH, enabling search-path hijacking of other users and system services. This affects Python (CPython) through 3.7.12, 3.8.x through 3.8.12, 3.9.x through 3.9.10, and 3.10.x through 3.10.2.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01495,"percentile":0.74818,"provenance":"source"},"cwes":[],"references":[{"url":"https://mail.python.org/archives/list/security-announce%40python.org/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN/","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220419-0005/","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":14.96},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-04-27","earliestUrl":"https://github.com/techspence/PyPATHPwner","repos":[{"name":"techspence/PyPATHPwner","url":"https://github.com/techspence/PyPATHPwner","stars":0,"created":"2023-04-27"}]},"first":{"date":"2023-04-27","source":"PoC-in-GitHub","url":"https://github.com/techspence/PyPATHPwner"},"provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-08T20:58:08.947847Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-31046","exploited":false,"provenance":"source"}}