CVE-2026-53940

Conda is a system-level binary package and environment manager that runs on major operating systems and platforms. Prior to 26.5.2, parse_entry_point_def in conda/common/path/python.py accepted an unvalidated entry-point command from a noarch:python package's info/link.json metadata. CreatePythonEntryPointAction in conda/core/path_actions.py interpolated that command into target_short_path, and PrefixPathAction.target_full_path joined it to the installation prefix without verifying that the result remained under the intended bin or Scripts directory. create_python_entry_point in conda/gateways/disk/create.py then wrote an executable wrapper to the resulting path. A malicious package could use path separators, traversal segments, or an absolute command path to write outside the prefix or overwrite another in-prefix entry point during default install and environment transactions. Out-of-prefix writes require the target parent directory to exist, while an overwritten entry point can execute attacker-controlled Python when later invoked with the installing user's privileges. This issue is fixed in version 26.5.2.
Configurations

No configuration.

History

21 Sep 2026, 19:17

Type Values Removed Values Added
References () https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c - () https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c -

21 Sep 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-21 16:17

Updated : 2026-09-24 21:16


NVD link : CVE-2026-53940

Mitre link : CVE-2026-53940

CVE.ORG link : CVE-2026-53940


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73

External Control of File Name or Path