VYPR
Unrated severityNVD Advisory· Published Mar 17, 2022· Updated Aug 3, 2024

CVE-2022-26526

CVE-2022-26526

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Anaconda3 and Miniconda3 on Windows create a world-writable directory in %PROGRAMDATA% and add it to system PATH, enabling local privilege escalation via Trojan horse.

Vulnerability

The Anaconda3 Distribution (through 2021.11.0.0) and Miniconda3 (through 4.11.0.0) installers on Windows create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. This behavior occurs only during a non-default installation where the user selects "Install for all users" and opts to change the system PATH [1][2].

Exploitation

An attacker with local access can place a malicious executable (Trojan horse) into the world-writable directory. Because the directory is in the system PATH, any process running in the context of another user (including higher-privileged users) that executes a command without a full path may inadvertently run the attacker's payload. No authentication beyond local user access is required; the attacker only needs write permission to the directory, which is world-writable [2].

Impact

Successful exploitation allows an attacker to escalate privileges to the level of the user running the affected process. If a privileged user (e.g., administrator) runs a command that resolves to the Trojan horse, the attacker gains code execution at that privilege level. The impact is local privilege escalation, potentially leading to full system compromise [2].

Mitigation

Anaconda has not released a patched version as of the publication date (2022-03-17). Users should avoid installing Anaconda3 or Miniconda3 with the "Install for all users" option and the system PATH modification. Alternatively, manually remove the world-writable directory from the system PATH and restrict permissions on the directory. The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog as of the publication date [2][3].

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.