VULNERABILITY INTELLIGENCE
CVE-2022-26488
CVSS score7 HIGH
EPSS probability1.49%
CISA KEVNot currently listed
Published2022-03-10
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-426: Untrusted Search Path
Primary references
- cve@mitre.org
- cve@mitre.org — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e