{"id":"CVE-2026-53940","state":"PUBLISHED","title":"Conda: Entry-point path traversal in noarch:python install (arbitrary file write) — canonical Python implementation","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.","publishedAt":"2026-09-21T15:35:37.770Z","updatedAt":"2026-09-21T18:47:14.680Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["conda conda"],"affected":[{"vendor":"conda","product":"conda","versions":[{"version":"< 26.5.2","status":"affected"}]}],"references":["https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c","https://github.com/conda/conda/pull/16168","https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa","https://github.com/conda/conda/releases/tag/26.5.2"],"weaknesses":["CWE-22","CWE-73"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53940","state":"PUBLISHED","datePublished":"2026-09-21T15:35:37.770Z","dateUpdated":"2026-09-21T18:47:14.680Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-11T15:46:12.318Z"},"containers":{"cna":{"title":"Conda: Entry-point path traversal in noarch:python install (arbitrary file write) — canonical Python implementation","descriptions":[{"lang":"en","value":"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":[{"vendor":"conda","product":"conda","versions":[{"version":"< 26.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c","name":"https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/conda/conda/pull/16168","name":"https://github.com/conda/conda/pull/16168","tags":["x_refsource_MISC"]},{"url":"https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa","name":"https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa","tags":["x_refsource_MISC"]},{"url":"https://github.com/conda/conda/releases/tag/26.5.2","name":"https://github.com/conda/conda/releases/tag/26.5.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","lang":"en","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-21T15:35:37.770Z"},"source":{"advisory":"GHSA-9m8m-c4j3-rj2c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-21T18:46:47.887956Z","id":"CVE-2026-53940","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-21T18:47:14.680Z"}}]}}}