# CVE-2026-53940: Conda: Entry-point path traversal in noarch:python install (arbitrary file write) — canonical Python implementation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 39, 2026-11-26)
- **CWE:** CWE-22, CWE-73
- **Published:** 2026-09-21T15:35:37.770Z
- **Modified:** 2026-09-24T21:16:28.120Z

## Who should check

- Anyone running conda \< 26.5.2

## 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.

## Affected and fixed versions

- conda: \< 26.5.2 (cvelist)

## Mitigation

- Upgrade conda to 26.5.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53940. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53940.md
Affected: conda < 26.5.2
Fixed in: conda 26.5.2

Steps:
1. Search this machine and project for conda: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53940 being exploited?

There is no confirmed exploitation: CVE-2026-53940 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53940?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-53940?

conda \< 26.5.2.

### Is there a fix for CVE-2026-53940?

Yes. Fixed in conda 26.5.2. Upgrade conda to 26.5.2 or later.

### How do I check if I'm affected by CVE-2026-53940?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c>
- patch: <https://github.com/conda/conda/pull/16168>
- patch: <https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa>
- other: <https://github.com/conda/conda/releases/tag/26.5.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53940>

HTML: <https://flawdb.com/CVE-2026-53940> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53940>
