{"id":"CVE-2026-53940","aliases":["CVE-2026-53940"],"related":[],"kind":"vulnerability","state":"published","title":"Conda: Entry-point path traversal in noarch:python install (arbitrary file write) — canonical Python implementation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-21T15:35:37.770Z","modified":"2026-09-24T21:16:28.120Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":"< 26.5.2","status":"affected"}],"vendor":"conda","product":"conda","source":"cvelist"}],"references":[{"url":"https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/conda/conda/pull/16168","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/conda/conda/releases/tag/26.5.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-21T18:46:47.887Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53940","url":"https://www.cve.org/CVERecord?id=CVE-2026-53940","licence":"CVE Terms of Use","modified":"2026-09-21T18:47:14.680Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53940","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53940","licence":"Public domain","modified":"2026-09-24T21:16:28.120Z"}],"updatedAt":"2026-11-25T22:59:40.344Z","epss":{"score":0.00417,"percentile":0.37961,"date":"2026-12-01T12:00:22.000Z"}}