REDHAT-BUG-2463234: Medium severity pypi/pip vulnerability

Published Apr 27, 2026
·
Updated

pip prior to version 26.1 would run self-update check functionality after installing wheel files which required importing well-known Python modules names. These module imports were intentionally deferred to increase startup time of the pip CLI. The patch changes self-update functionality to run before wheels are installed to prevent newly-installed modules from being imported shortly after the installation of a wheel package. Users should still review package contents prior to installation.

Affected Software

1 affected component
pypi/pip<26.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip to a version that resolves this vulnerability.

    Fixed in 26.1
  2. Compensating control

    Review package contents prior to installation.

Event History

Apr 27, 2026
Data Sourced
via Red Hat·03:03 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which pip installations are affected?

pip versions earlier than 26.1 are affected. The issue occurs when pip installs wheel files and subsequently performs its self-update check.

2

What conditions are needed for exploitation?

An attacker would need a wheel package whose installed contents use well-known Python module names that pip imports during the post-install self-update check. Installing an unreviewed or malicious wheel creates the relevant exposure.

3

Does updating pip address the issue?

Yes. The patch in pip 26.1 moves the self-update functionality to run before wheel installation, preventing newly installed modules from being imported shortly afterward.

4

What can be done if pip cannot be updated immediately?

Review wheel and package contents before installation, particularly when installing packages from untrusted sources. This is specifically recommended because installed package contents may affect imports performed after installation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203