r/Python • Python Software Foundation Staff • Oct 20 '26

News Info for Python users regarding eMudhra / emSign CA certificate security incident

A security incident affecting eMudhra intermediate certificates has required removing the emSign root CA certificate from CA bundles such as β€œcertifi”. It’s important to immediately upgrade the software packages below to at least the versions specified and rebuild container images to fetch the latest system certificates. Failure to do so could result in monster-in-the-middle (MITM) attacks against TLS clients, including python.org and pypi.org .

(1): Advisory mentions 2026.10.18, but 2026.10.19 is recommended for compatibility with unaffected emSign root certificates.

For all existing virtual environments on your system, please upgrade pip and uv to the latest versions.

Please read the full post on discuss.python.org for up-to-date information: https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576

172 Upvotes

27 comments sorted by

View all comments

Show parent comment

2

u/d3matt Oct 21 '26

Dang, it hadn't registered to me that 3.10 was EOL too already. 3.9 is still the default for the EL9 series (trivial to get 3.14, I know...)

I'll definitely be pushing people at the office to bump up.

2

u/zurtex Oct 21 '26

I've not checked, but I am pretty sure EL9 patches pip to use their own certifi, not the one we distribute.

3

u/d3matt Oct 21 '26

Oh neat... the EL python3.9-pip's vendored certifi is patched to look at /etc/pki/tls/certs/ca-bundle.crt for its certificates. My usual mechanism for creating a venv though is to immediately upgrade to the latest pip before installing anything else. This of course switches to the upstream certifi 2026.01.04 which I'm pretty sure includes the bad certs.

2

u/zurtex Oct 21 '26

Correct, if you're using a Python version pip maintainers no longer support (Python 3.9 and below) but your Linux distro does, then you should use the pip distributed by them as they are guaranteeing security, not us.