{"cve":"CVE-2023-5752","nvd":{"published":"2023-10-25T18:17:44.867","modified":"2026-06-17T06:49:17.790","status":"Modified","description":"When installing a package from a Mercurial VCS URL  (ie \"pip install \nhg+...\") with pip prior to v23.3, the specified Mercurial revision could\n be used to inject arbitrary configuration options to the \"hg clone\" \ncall (ie \"--config\"). Controlling the Mercurial configuration can modify\n how and which repository is installed. This vulnerability does not \naffect users who aren't installing from Mercurial.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3},"cwes":["CWE-77"],"references":["https://github.com/pypa/pip/pull/12306","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E/"],"products":["pypa:pip"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-5752","score":0.00502,"percentile":0.4299,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mq26-g339-26xf","url":"https://osv.dev/vulnerability/GHSA-mq26-g339-26xf","summary":"Command Injection in pip when used with Mercurial","modified":"2026-09-10T03:50:03.949904915Z","packages":[{"ecosystem":"PyPI","name":"pip","purl":"pkg:pypi/pip","ranges":["<23.3"],"fixed":["23.3"]}]},{"id":"PYSEC-2023-228","url":"https://osv.dev/vulnerability/PYSEC-2023-228","summary":"","modified":"2026-06-10T17:01:27.606909654Z","packages":[{"ecosystem":"PyPI","name":"pip","purl":"pkg:pypi/pip","ranges":["<23.3"],"fixed":["23.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}