Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for conda by conda

    CVE-2026-53940 (GCVE-0-2026-53940)

    Vulnerability from nvd – Published: 2026-09-21 15:35 – Updated: 2026-09-21 18:47
    VLAI
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-21 18:46 UTC
    CWE
    • CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
    • CWE-73 - External Control of File Name or Path
    Impacted products
    Vendor Product Version
    conda conda Affected: < 26.5.2
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-53940",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-21T18:46:47.887956Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-21T18:47:14.680Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "conda",
              "vendor": "conda",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 26.5.2"
                }
              ]
            }
          ],
          "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\u0027s 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\u0027s privileges. This issue is fixed in version 26.5.2."
            }
          ],
          "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",
                  "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-73",
                  "description": "CWE-73: External Control of File Name or Path",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-21T15:35:37.770Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c"
            },
            {
              "name": "https://github.com/conda/conda/pull/16168",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/conda/conda/pull/16168"
            },
            {
              "name": "https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa"
            },
            {
              "name": "https://github.com/conda/conda/releases/tag/26.5.2",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/conda/conda/releases/tag/26.5.2"
            }
          ],
          "source": {
            "advisory": "GHSA-9m8m-c4j3-rj2c",
            "discovery": "UNKNOWN"
          },
          "title": "Conda: Entry-point path traversal in noarch:python install (arbitrary file write) \u2014 canonical Python implementation"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-53940",
        "datePublished": "2026-09-21T15:35:37.770Z",
        "dateReserved": "2026-06-11T15:46:12.318Z",
        "dateUpdated": "2026-09-21T18:47:14.680Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-53940 (GCVE-0-2026-53940)

    Vulnerability from cvelistv5 – Published: 2026-09-21 15:35 – Updated: 2026-09-21 18:47
    VLAI
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-21 18:46 UTC
    CWE
    • CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
    • CWE-73 - External Control of File Name or Path
    Impacted products
    Vendor Product Version
    conda conda Affected: < 26.5.2
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-53940",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-21T18:46:47.887956Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-21T18:47:14.680Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "conda",
              "vendor": "conda",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 26.5.2"
                }
              ]
            }
          ],
          "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\u0027s 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\u0027s privileges. This issue is fixed in version 26.5.2."
            }
          ],
          "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",
                  "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-73",
                  "description": "CWE-73: External Control of File Name or Path",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-21T15:35:37.770Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/conda/conda/security/advisories/GHSA-9m8m-c4j3-rj2c"
            },
            {
              "name": "https://github.com/conda/conda/pull/16168",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/conda/conda/pull/16168"
            },
            {
              "name": "https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/conda/conda/commit/3987c86ccd5527177e96b48bd4dc1777dd2c9baa"
            },
            {
              "name": "https://github.com/conda/conda/releases/tag/26.5.2",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/conda/conda/releases/tag/26.5.2"
            }
          ],
          "source": {
            "advisory": "GHSA-9m8m-c4j3-rj2c",
            "discovery": "UNKNOWN"
          },
          "title": "Conda: Entry-point path traversal in noarch:python install (arbitrary file write) \u2014 canonical Python implementation"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-53940",
        "datePublished": "2026-09-21T15:35:37.770Z",
        "dateReserved": "2026-06-11T15:46:12.318Z",
        "dateUpdated": "2026-09-21T18:47:14.680Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }