Python closes critical TLS flaw tied to eMudhra keys in update
Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 fix a critical vulnerability caused by compromised eMudhra certificates, along with other flaws.
(Image: Funtap / Shutterstock.com)
The Python team released the accelerated security updates Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 on Sunday. The main reason was compromised keys for several eMudhra intermediate certificates. The release team recommends that anyone using the affected versions update urgently. Binary installers are available only for 3.15.2 and 3.14.10; the other three versions are available only as source code.
According to the Python blog, the updates fix the vulnerability CVE-2026-115557 (CVSS 9.4). Using the insecure eMudhra intermediate certificates, attackers could issue valid certificates for any domain. The private keys for all eight affected CA certificates were trivial to guess; one was simply “4”. As a final safeguard, the ssl module now rejects certificate chains that use these keys.
The Python update also protects pip from attacks using the affected keys, even if pip itself hasn’t been updated yet. This also protects the process of updating pip. Still, in a notice about the eMudhra incident, the Python team recommends upgrading to pip 26.2.2, certifi 2026.10.19, and uv 0.13.4 or later.
Patches also fix tarfile and http.cookiejar
All five Python versions include two other security fixes in addition to the eMudhra patch. The first addresses vulnerability CVE-2026-114583 (CVSS 6.9) in the tarfile module. Crafted link entries in tar archives could bypass tarfile.tar_filter, allowing files to be placed outside the target directory when extracting with filter="tar". After the update, tar_filter() rejects link entries that replace the target directory itself.
There is also a security fix for http.cookiejar.DefaultCookiePolicy. Previously, cookies with a negative version number were not subject to a domain check, allowing a server to set or overwrite cookies for other domains. After the update, such cookies are considered invalid and ignored. The vulnerability did not allow a server to read other domains' cookies.
Videos by heise
Additional security fixes for older versions
Python 3.13.18, 3.12.16 and 3.11.18 also get three fixes that were already included in 3.15.1 and 3.14.9. Updating to Expat 2.9.0 closes the vulnerabilities CVE-2026-77214 and CVE-2026-102633 in the XML parser. In addition, on Windows, mimetypes no longer reads MIME types by default from files in the knownfiles list that other users can modify (CVE-2024-3220), and email headers retain their quotation marks when folded.
There is one more separate security fix for Python 3.13.18 and 3.12.16, which was already included in versions 3.15.0 and 3.14.9. When cleaning up tempfile.TemporaryDirectory, attackers could replace a subdirectory with a symbolic link while it was being deleted, then delete files outside the directory or change their permissions.
(mro)