{"id":"CVE-2022-26488","aliases":["BELL-CVE-2022-26488","BIT-libpython-2022-26488","BIT-python-2022-26488","BIT-python-min-2022-26488","EUVD-2022-31046","GHSA-3f7p-x3g9-9grh"],"status":"published","title":"In Python before 3.10.3 on Windows, local users can gain privileges because the search path is...","description":"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.","severity":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01495,"percentile":0.74404,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-426"],"published":"2022-03-07T17:26:04Z","modified":"2026-11-10T10:30:26Z","exploits":[{"source":"pocgithub","id":"techspence/PyPATHPwner","title":"techspence/PyPATHPwner","date":"2023-04-27","url":"https://github.com/techspence/PyPATHPwner"}],"fixes":[{"ecosystem":"Bitnami","package":"libpython","fixed_in":["3.7.13","3.10.3","3.8.13","3.9.11"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"python","fixed_in":["3.7.13","3.10.3","3.8.13","3.9.11"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"python-min","fixed_in":["3.7.13","3.10.3","3.8.13","3.9.11"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"libpython","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.7.13"},{"introduced":"3.10.0"},{"fixed":"3.10.3"},{"introduced":"3.8.0"},{"fixed":"3.8.13"},{"introduced":"3.9.0"},{"fixed":"3.9.11"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"python","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.7.13"},{"introduced":"3.10.0"},{"fixed":"3.10.3"},{"introduced":"3.8.0"},{"fixed":"3.8.13"},{"introduced":"3.9.0"},{"fixed":"3.9.11"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"python-min","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.7.13"},{"introduced":"3.10.0"},{"fixed":"3.10.3"},{"introduced":"3.8.0"},{"fixed":"3.8.13"},{"introduced":"3.9.0"},{"fixed":"3.9.11"}]}]}],"products":[{"vendor":"netapp","product":"active_iq_unified_manager"},{"vendor":"netapp","product":"ontap_select_deploy_administration_utility"},{"vendor":"python","product":"python"},{"vendor":"siemens","product":"simatic s7-1500 cpu 1518-4 pn/dp mfp"},{"vendor":"siemens","product":"simatic s7-1500 cpu 1518f-4 pn/dp mfp"},{"vendor":"siemens","product":"siplus s7-1500 cpu 1518-4 pn/dp mfp"}],"references":[{"url":"https://mail.python.org/archives/list/security-announce%40python.org/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220419-0005/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26488","tags":["web","advisory"]},{"url":"https://mail.python.org/archives/list/security-announce%40python.org/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN"},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN"},{"url":"https://security.netapp.com/advisory/ntap-20220419-0005"},{"url":"https://github.com/advisories/GHSA-3f7p-x3g9-9grh"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2022-26488","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26488.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-26488","description":"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.","status":"published","published":"2022-03-07T17:26:04Z","modified":"2026-10-14T16:20:01.019Z","updated_at":"2026-11-02T14:34:25.954329Z"}],"euvd":[{"id":"EUVD-2022-31046","description":"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.","status":"published","published":"2022-03-07T17:26:04Z","modified":"2026-10-14T16:20:01Z","updated_at":"2026-11-02T17:27:14.304159Z"}],"ghsa":[{"id":"GHSA-3f7p-x3g9-9grh","title":"In Python before 3.10.3 on Windows, local users can gain privileges because the search path is...","description":"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.","status":"published","published":"2022-03-11T00:02:03Z","modified":"2026-10-14T18:32:29Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T15:13:27.339015Z"}],"nvd":[{"id":"CVE-2022-26488","description":"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.","status":"published","published":"2022-03-10T17:47:45.383Z","modified":"2026-10-14T17:17:36.123Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:07:13.7085Z"}],"osv":[{"id":"BELL-CVE-2022-26488","title":"CVE-2022-26488 does not affect BellSoft software","status":"withdrawn","published":"2022-03-10T17:47:00Z","modified":"2026-01-26T09:49:17.584098Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:17.151188Z"},{"id":"BIT-libpython-2022-26488","description":"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.","status":"published","published":"2025-08-11T13:52:02.378Z","modified":"2026-09-08T08:48:09.030247846Z","updated_at":"2026-11-02T15:28:32.162822Z"},{"id":"BIT-python-2022-26488","description":"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.","status":"published","published":"2024-10-04T16:38:49.929Z","modified":"2026-09-08T08:48:18.676130314Z","updated_at":"2026-11-02T15:28:34.724063Z"},{"id":"BIT-python-min-2022-26488","description":"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.","status":"published","published":"2025-01-17T15:08:49.9Z","modified":"2026-09-08T08:47:30.088350177Z","updated_at":"2026-11-02T15:28:34.724063Z"},{"id":"CVE-2022-26488","description":"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.","status":"published","published":"2022-03-07T17:26:04Z","modified":"2026-11-10T10:30:26.34990985Z","updated_at":"2026-11-10T10:57:30.46332Z"}]}}
