{"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":["GHSA-wf93-45jw-7689","PYSEC-2026-196"],"modified":"2026-07-10T03:54:52.774329041Z","published":"2026-06-01T15:01:32.143Z","related":["ALSA-2026:36193","ALSA-2026:36315","SUSE-SU-2026:22300-1","SUSE-SU-2026:2634-1","openSUSE-SU-2026:10940-1","openSUSE-SU-2026:20993-1"],"database_specific":{"cna_assigner":"PSF","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8643.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/06/01/5"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8643.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33313"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34374"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34456"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34739"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34740"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34741"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34748"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34749"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34750"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34752"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34756"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34758"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34760"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34765"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34772"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34773"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34774"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34775"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34776"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34777"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34778"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34780"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34891"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36193"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36315"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-8643"},{"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":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460927"},{"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":"ef78c129b1a966dbbbdb8ebfffc43723e89110d1"},{"fixed":"31d7d168953668aad85154d6121879d07fbeac27"}],"database_specific":{"cpe":"cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"24.0"},{"fixed":"26.1.2"},{"introduced":"0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"database_specific":{"source":"https://storage.googleapis.com/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"}]}