Skip to content

EXE: Excessive permissions during and after installation

High
marcoesters published GHSA-vvpr-2qg4-2mrq Nov 4, 2025

Package

conda constructor (conda)

Affected versions

< 3.13.0

Patched versions

None

Description

Note: this advisory has been edited to clarify that even though the consequences are different for single-user and all-user installations, the vulnerability has the same origin and requires the same fix.

Impact

The installation directory inherits permissions from its parent directory. Outside of restricted directories, the permissions are very permissive and often allow write access by authenticated users. For example, these are the permissions of an all-user installation of the installation directory during the installation process:

icacls C:\miniconda3
C:\miniconda3 BUILTIN\Administrators:(I)(OI)(CI)(F)
              NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
              BUILTIN\Users:(I)(OI)(CI)(RX)
              NT AUTHORITY\Authenticated Users:(I)(M)
              NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)

This means that any logged in user can make modifications during the installation for both single-user and all-user installations. This constitutes a local attack vector if the installation is in a directory local users have access to. For single-user installations in a shared directory, these permissions persist after the installation.

This is a similar vulnerability to CVE-2022-26526, which was mitigated by changing permissions for all-user installations after the installation is finished. However, the attack vector still remains open during the installation and for single-user installations in shared directories.

Patches

The permissions are changed right after $INSTDIR is created. Write access is restricted to SYSTEM, Administrators, and (for single-user installations) the installing user. This ensures that all files inherit the hardened permissions as they are extracted, and that these permissions persist after the installation is finished.

Workarounds

Users can change permissions manually after the installation to remove write access for AU and only grant write access to %USERNAME%. Inheritance should be disabled.

There is no workaround for the temporary attack vector during the installation.

References

N/A

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2025-64343

Weaknesses

Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. Learn more on MITRE.