7.8
HIGH
CVE-2022-26526
Anaconda3 Windows Path Injection Privilege Escalation
Description

Anaconda Anaconda3 (Anaconda Distribution) through 2021.11.0.0 and Miniconda3 through 4.11.0.0 can create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. Thus, for example, local users can gain privileges by placing a Trojan horse file into that directory. (This problem can only happen in a non-default installation. The person who installs the product must specify that it is being installed for all users. Also, the person who installs the product must specify that the system PATH should be changed.

INFO

Published Date :

March 17, 2022, 4:15 p.m.

Last Modified :

Aug. 8, 2023, 2:21 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2022-26526 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Anaconda anaconda3
1 Conda miniconda3
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-26526.

URL Resource
https://docs.conda.io/en/latest/miniconda.html Product Vendor Advisory
https://github.com/continuumio/anaconda-issues/issues Issue Tracking Third Party Advisory
https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit Third Party Advisory
https://repo.anaconda.com/miniconda/ Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-26526 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-26526 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 08, 2023

    Action Type Old Value New Value
    Changed CWE CWE-426 CWE-732
  • Modified Analysis by [email protected]

    Jun. 07, 2022

    Action Type Old Value New Value
    Changed Reference Type https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit, Third Party Advisory
    Changed Reference Type https://repo.anaconda.com/miniconda/ No Types Assigned https://repo.anaconda.com/miniconda/ Vendor Advisory
    Changed CPE Configuration OR *cpe:2.3:a:anaconda:anaconda3:*:*:*:*:*:*:*:* versions up to (including) 2021.11.0.0 *cpe:2.3:a:conda:miniconda3:*:*:*:*:*:*:*:* versions up to (including) 11.0.0.0 OR *cpe:2.3:a:anaconda:anaconda3:*:*:*:*:*:*:*:* versions up to (including) 2021.11.0.0 *cpe:2.3:a:conda:miniconda3:*:*:*:*:*:*:*:* versions up to (including) 4.11.0.0
  • CVE Modified by [email protected]

    Jun. 07, 2022

    Action Type Old Value New Value
    Changed Description Anaconda Anaconda3 through 2021.11.0.0 and Miniconda3 through 11.0.0.0 can create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. Thus, for example, local users can gain privileges by placing a Trojan horse file into that directory. (This problem can only happen in a non-default installation. The person who installs the product must specify that it is being installed for all users. Also, the person who installs the product must specify that the system PATH should be changed.) Anaconda Anaconda3 (Anaconda Distribution) through 2021.11.0.0 and Miniconda3 through 4.11.0.0 can create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. Thus, for example, local users can gain privileges by placing a Trojan horse file into that directory. (This problem can only happen in a non-default installation. The person who installs the product must specify that it is being installed for all users. Also, the person who installs the product must specify that the system PATH should be changed.
    Added Reference https://repo.anaconda.com/miniconda/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 23, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://docs.conda.io/en/latest/miniconda.html No Types Assigned https://docs.conda.io/en/latest/miniconda.html Product, Vendor Advisory
    Changed Reference Type https://github.com/continuumio/anaconda-issues/issues No Types Assigned https://github.com/continuumio/anaconda-issues/issues Issue Tracking, Third Party Advisory
    Changed Reference Type https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 No Types Assigned https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit
    Added CWE NIST CWE-426
    Added CPE Configuration OR *cpe:2.3:a:anaconda:anaconda3:*:*:*:*:*:*:*:* versions up to (including) 2021.11.0.0 *cpe:2.3:a:conda:miniconda3:*:*:*:*:*:*:*:* versions up to (including) 11.0.0.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability