Vulnerabilities

CVE-2022-26488

High 7.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2022-03-10
Last modified
2026-10-14
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.4 % higher than 69 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Microsoft Windows all versions listed Not affected
Netapp Active Iq Unified Manager all versions listed Affected
Netapp Ontap Select Deploy Administration Utility all versions listed Affected
Python Python ≤ 3.7.12 Affected
Python Python 3.11.0 Affected
Python Python ≥ 3.10.0, ≤ 3.10.2 Affected
Python Python ≥ 3.8.0, ≤ 3.8.12 Affected
Python Python ≥ 3.9.0, ≤ 3.9.10 Affected

Weakness type

  • CWE-426: Untrusted Search Path

    The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1574.009: Path Interception by Unquoted Path stealth, execution

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities