pip bundled certifi trusts compromised eMudhra certificates (CVE-2026-133949)

pip versions before 26.2.2 bundle a certifi CA store that includes compromised eMudhra certificates. Python/FastAPI environments using vulnerable pip may have weakened TLS trust when installing packages. Upgrade pip to 26.2.2+ after moving to a Python version that rejects the compromised intermediates, or use hash-pinned secure pip.

Context CVE-2026-133949 affects pip prior to v26.2.2: the certifi bundle shipped with pip contains the compromised eMudhra certificates. This is part of the eMudhra emSign CA certificate security incident. For Python/FastAPI stacks, pip is the primary package installer, so a compromised CA store in pip can undermine TLS verification for package downloads and any tooling that relies on pip's bundled certificates.

What to do 1. Identify affected environments: run pip --version and compare against v26.2.2. Treat any pip < 26.2.2 as vulnerable. 2. Before upgrading pip, upgrade Python to a version that rejects the compromised intermediates (see CVE-2026-115557) so the bootstrap path is trusted. 3. If a Python upgrade is not immediately possible, do not use the vulnerable pip to upgrade itself. Use hash pinning with a known-secure pip wheel from a trusted source. 4. Upgrade pip to 26.2.2 or later on all Python/FastAPI build, test, and runtime images. 5. Review the NVD entry and Python security announcement, and verify the vendor advisory before changing production systems. 6. After patching, re-run dependency installation and integrity checks to confirm packages were fetched over a trusted TLS chain.

Sources: - NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-133949 - Python discussion: https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576 - GitHub advisory: https://github.com/advisories/ghsa-6q48-6c7w-9gw2 - pip PR: https://github.com/pypa/pip/pull/14371 - Python security-announce: https://mail.python.org/archives/list/[email protected]/thread/4234WU4ONSVWPT3BIGG6TOJO2UFE26Y6/

Sources