GitHub Advisoryadvisory · PyPI
GHSA-wf93-45jw-7689 pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts outside of target directory
MEDIUM
Official page ↗
- Aliases
- CVE-2026-8643
- Ecosystem
- PyPI
- Packages
- pip
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2026-07-08
Affected packages
• PyPI pip: < 26.1.2 → fixed in 26.1.2
Description
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.
Related
Alias · CVE (1)
- CVE-2026-8643 pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-8643 advisory
- https://github.com/pypa/pip/pull/14000 web
- https://access.redhat.com/errata/RHSA-2026:33313 web
- https://access.redhat.com/errata/RHSA-2026:34776 web
- https://access.redhat.com/errata/RHSA-2026:34777 web
- https://access.redhat.com/errata/RHSA-2026:34778 web
- https://access.redhat.com/errata/RHSA-2026:34780 web
- https://access.redhat.com/errata/RHSA-2026:34891 web
- https://access.redhat.com/errata/RHSA-2026:36193 web
- https://access.redhat.com/errata/RHSA-2026:36315 web
- https://access.redhat.com/errata/RHSA-2026:37275 web
- https://access.redhat.com/errata/RHSA-2026:37283 web
- https://access.redhat.com/security/cve/CVE-2026-8643 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2460927 web
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-196.yaml web
- https://github.com/pypa/pip package
- https://mail.python.org/archives/list/[email protected]/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ web
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8643.json web
- https://access.redhat.com/errata/RHSA-2026:34374 web
- https://access.redhat.com/errata/RHSA-2026:34456 web
- https://access.redhat.com/errata/RHSA-2026:34739 web
- https://access.redhat.com/errata/RHSA-2026:34740 web
- https://access.redhat.com/errata/RHSA-2026:34741 web
- https://access.redhat.com/errata/RHSA-2026:34748 web
- https://access.redhat.com/errata/RHSA-2026:34749 web
- https://access.redhat.com/errata/RHSA-2026:34750 web
- https://access.redhat.com/errata/RHSA-2026:34752 web
- https://access.redhat.com/errata/RHSA-2026:34756 web
- https://access.redhat.com/errata/RHSA-2026:34758 web
- https://access.redhat.com/errata/RHSA-2026:34760 web
- https://access.redhat.com/errata/RHSA-2026:34765 web
- https://access.redhat.com/errata/RHSA-2026:34772 web
- https://access.redhat.com/errata/RHSA-2026:34773 web
- https://access.redhat.com/errata/RHSA-2026:34774 web
- https://access.redhat.com/errata/RHSA-2026:34775 web
- http://www.openwall.com/lists/oss-security/2026/06/01/5 web