CVE-2026-6357
pip: pip: Arbitrary code execution or information disclosure via malicious wheel package installation
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 27, 2026
Updated · November 4, 2026
Description
A flaw was found in pip. Prior to version 26.1, pip's self-update check functionality would execute after installing wheel packages. This process involved importing newly installed Python modules. A malicious actor could craft a specially designed wheel package that, when installed, could lead to the execution of arbitrary code or information disclosure due to the premature import of its modules during the self-update check.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.8CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
CWE-94 · Improper Control of Generation of Code