{"id":"CVE-2026-8643","summary":"pip can extract console_scripts and gui_scripts outside installation directory","details":"pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.","aliases":["PYSEC-2026-196"],"modified":"2026-06-15T12:24:34.077628365Z","published":"2026-06-01T15:01:32.143Z","related":["openSUSE-SU-2026:10940-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8643.json","cna_assigner":"PSF"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/06/01/5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8643.json"},{"type":"ADVISORY","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8643"},{"type":"FIX","url":"https://github.com/pypa/pip/pull/14000"},{"type":"PACKAGE","url":"https://github.com/pypa/pip"},{"type":"PACKAGE","url":"https://pypi.org/project/pip"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pypa/pip","events":[{"introduced":"0"},{"fixed":"31d7d168953668aad85154d6121879d07fbeac27"}],"database_specific":{"cpe":"cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*","source":["AFFECTED_FIELD","CPE_RANGE"],"extracted_events":[{"introduced":"0"},{"fixed":"26.1.2"},{"introduced":"0"},{"fixed":"26.1.2"}]}}],"versions":["26.0","21.3","21.0","20.0.2","19.1.1","19.0.2","19.0","18.1","18.0","10.0.1","10.0.0","9.0.1","9.0.0","6.0","1.4rc2","1.4rc1","1.2","1.0","0.8.3","0.8.2","0.8","0.7.1","0.7","0.6","0.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-8643.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}