Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-PYPY-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-09-10 01:00 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@20.3.4",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "pypy",
            "purl": "pkg:brew/pypy"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@20.3.4",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "20.3.4"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-pypy-CVE-2023-5752",
      "modified": "2026-09-10T01:00:19Z",
      "published": "2026-08-13T17:29:47Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }

    BREW-PYPY3.10-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-22 08:58 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@26.2.2",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "pypy3.10",
            "purl": "pkg:brew/pypy3.10"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "7.3.12"
                },
                {
                  "fixed": "7.3.14"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@26.2.2",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "26.2.2"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-pypy3.10-CVE-2023-5752",
      "modified": "2026-10-22T08:58:12Z",
      "published": "2026-08-13T17:29:47Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }

    BREW-PYPY3.9-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-08-13 17:29 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@24.0",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "pypy3.9",
            "purl": "pkg:brew/pypy3.9"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.3.16_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@24.0",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "24.0"
          },
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@24.0",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "24.0"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-pypy3.9-CVE-2023-5752",
      "modified": "2026-08-13T17:29:47Z",
      "published": "2026-08-13T17:29:47Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }

    BREW-PYTHON@3.10-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-22 09:46 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@26.2.2",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "python@3.10",
            "purl": "pkg:brew/python%403.10"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.10.0"
                },
                {
                  "fixed": "3.10.13_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@26.2.2",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "26.2.2"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-python@3.10-CVE-2023-5752",
      "modified": "2026-10-22T09:46:05Z",
      "published": "2026-08-13T17:29:58Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }

    BREW-PYTHON@3.11-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-22 10:14 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@26.2.2",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "python@3.11",
            "purl": "pkg:brew/python%403.11"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.11.0"
                },
                {
                  "fixed": "3.11.6_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@26.2.2",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "26.2.2"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-python@3.11-CVE-2023-5752",
      "modified": "2026-10-22T10:14:54Z",
      "published": "2026-08-13T17:29:58Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }

    BREW-PYTHON@3.12-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-22 10:10 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@26.2.2",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "python@3.12",
            "purl": "pkg:brew/python%403.12"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.12.0"
                },
                {
                  "fixed": "3.12.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@26.2.2",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "26.2.2"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-python@3.12-CVE-2023-5752",
      "modified": "2026-10-22T10:10:50Z",
      "published": "2026-08-13T17:29:58Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }

    BREW-PYTHON@3.9-CVE-2023-5752 (GHSA-MQ26-G339-26XF)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-08 01:11 – Source website
    VLAI
    Summary
    Command Injection in pip when used with Mercurial
    Details

    When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.


    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pip",
            "resource_purl": "pkg:pypi/pip@25.3",
            "upstream_fixed_in": "23.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "python@3.9",
            "purl": "pkg:brew/python%403.9"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.9.0"
                },
                {
                  "fixed": "3.9.18_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pip@25.3",
            "name": "pip",
            "resource": "pip",
            "strategy": "registry",
            "subject_version": "25.3"
          }
        ]
      },
      "details": "When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren\u0027t installing from Mercurial.",
      "id": "BREW-python@3.9-CVE-2023-5752",
      "modified": "2026-10-08T01:11:20Z",
      "published": "2026-08-13T17:29:58Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5752"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/pip/commit/389cb799d0da9a840749fcd14878928467ed49b4"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2023-228.yaml"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pypa/pip"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E"
        },
        {
          "type": "WEB",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ"
        },
        {
          "type": "WEB",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
          "type": "CVSS_V4"
        }
      ],
      "summary": "Command Injection in pip when used with Mercurial",
      "upstream": [
        "GHSA-mq26-g339-26xf",
        "CVE-2023-5752",
        "PYSEC-2023-228"
      ]
    }