Ubuntu Patches Two pip Vulnerabilities Including Script Installation Flaw
Canonical's USN-9294-1 addresses two pip security issues, including a flawed validation of entry points that could let attackers place executable scripts outside the intended installation directory.
PythonVulnerabilitiesKey points
- USN-9294-1 fixes two vulnerabilities in pip on Ubuntu.
- CVE-2026-8643: pip did not properly validate console_scripts/gui_scripts entry points, potentially letting attackers place executable scripts outside the intended install directory.
- A second flaw involves pip's bundled urllib3 library mishandling chunked transfer-encoded responses, reportedly exploitable by a remote attacker; full details and a CVE ID for this issue are not given in the excerpt.
- No specific affected versions or workaround details are provided in the available source material.
Canonical has issued USN-9294-1, a security update for Ubuntu addressing two vulnerabilities in pip, Python's package installer.
The first issue, tracked as CVE-2026-8643, involves pip's handling of console_scripts and gui_scripts entry points when installing wheel packages. According to the advisory, pip failed to properly validate these entry points, which could allow an attacker to get executable script files installed outside of the directory intended for the installation. This could potentially let malicious packages plant scripts in unexpected locations on a system.
The second issue concerns pip's bundled copy of the urllib3 library, which reportedly mishandled responses using chunked transfer-encoding. The advisory states a remote attacker could possibly exploit this behavior, though the excerpt available does not specify the exact impact or provide a separate CVE identifier for this flaw.
No further technical details — such as affected Ubuntu releases, specific pip or urllib3 version numbers, or workaround steps — are included in the source material.
What administrators should know
The advisory indicates that Canonical has released updates to fix these problems. As is standard practice for USN advisories, administrators running affected Ubuntu systems should apply the available update through their normal package management process to receive the corrected pip package.
What to do
- Apply the Ubuntu security update referenced in USN-9294-1 for the pip package.
- Verify which Ubuntu release and pip version is in use and confirm the patched version is installed.
- Monitor Canonical's advisory page for any additional detail on affected versions once published.
Original report
“USN-9294-1: pip vulnerabilities”
It was discovered that pip incorrectly validated console_scripts and gui_scripts entry points when installing wheels. An attacker could possibly use this issue to install executable script files outside of the intended installation directory. (CVE-2026-8643) It was discovered that pip's bundled urllib3 library incorrectly handled chunked transfer-encoded responses. A remote attacker could possibl…
Vulnerabilities mentioned
- CVE-2026-8643 Medium