CVE-2026-53940
Received Received - Intake

Path Traversal in Conda Package Manager

Vulnerability report for CVE-2026-53940, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-21

Last updated on: 2026-09-21

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-21
Last Modified
2026-09-21
Generated
2026-09-21
AI Q&A
2026-09-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
continuum_analytics conda to 26.5.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-53940 is a path traversal vulnerability in conda versions before 26.5.2. It allows malicious noarch:python packages to write files outside the intended installation directory or overwrite existing files by crafting entry-point definitions with path traversal sequences like .. or / in info/link.json metadata. The vulnerability stems from unvalidated entry-point commands being interpolated into paths without proper checks.

Detection Guidance

To detect this vulnerability, check the installed conda version using 'conda --version'. If it is below 26.5.2, the system is vulnerable. Additionally, inspect installed packages for suspicious noarch:python packages with malformed entry points in their info/link.json files.

Impact Analysis

This vulnerability can lead to arbitrary file writes or overwrites during package installation. Attackers could replace critical files like pip in the bin directory or write executables to sensitive locations such as user home directories. Exploitation requires only installing a malicious package and can result in remote code execution when the affected tools are later invoked with the installing user's privileges.

Compliance Impact

This vulnerability could lead to unauthorized file writes or overwrites outside intended directories, potentially exposing sensitive data. For GDPR, this may violate principles of data protection and integrity. For HIPAA, it could compromise protected health information if exploited in healthcare environments.

Mitigation Strategies

Immediately upgrade conda to version 26.5.2 or later using 'conda update -n base -c defaults conda'. Avoid installing untrusted packages and review installed packages for malicious entry points. Monitor for unexpected file writes or modifications outside intended directories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53940. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart