# Information for Python users regarding eMudhra / emSign CA certificate security incident

**URL:** <https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576>\
**Category:** Announcements\
**Tags:** security\
**Created:** [October 20, 2026, 4:57pm UTC](https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576 "2026-10-20T16:57:43Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![tiran](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/tiran/32/48_2.png) [@tiran](https://discuss.python.org/u/tiran)\
**Post date:** [October 21, 2026, 3:45pm UTC](https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576/16 "2026-10-21T15:45:05Z")

</div>

Golang has implemented and released a mitigation that blocks the compromised intermediate CAs by SPKI hash (subject public key information). I just filed a CPython ticket and PR that adds the same mitigation to Python’s `ssl` module. It’s a defense in depth that prevents connections when the OS, certifi, or pip are not up to date.

> <https://github.com/python/cpython/issues/160040>
>
> \### Feature or enhancement
> 
> I propose to add a small denylist to \`\_ssl\` that rej…ects any TLS certificate chain containing one of the recently compromised eMudhra intermediate CA keys. The check runs during certificate verification and matches the DER-encoded \`SubjectPublicKeyInfo\`, so cross-signed certs that reuse a key are blocked, too.
> 
> Yesterday a set of eMudhra intermediate keys were disclosed as compromised and revoked, see https://emudhra.we-have-a-problem.com/. \`d=4\` isn't a secure EC private key. Removing trust is the root store's job, but the update lags in practice, and there is no reliable way to propagate an \*intermediate\* revocation to applications. Until the roots are gone, Python still completes handshakes through a known-bad key.
> 
> As a defense in depth Python should blocks those connections in the meantime. With a simple callback, this can be enforced on every \`SSLContext\` when verification is enabled (\`CERT\_OPTIONAL\` / \`CERT\_REQUIRED\`); \`CERT\_NONE\` is unaffected.
> 
> \### Has this already been discussed elsewhere?
> 
> No response given
> 
> \### Links to previous discussion of this feature:
> 
> Golang has implemented filtering to address CVE-2026-111943. 
>  
> \- Go issue: https://github.com/golang/go/issues/82345
> \- Go fix (crypto/x509): https://go.dev/cl/851047
> \- eMudhra disclosure and affected intermediates: https://emudhra.we-have-a-problem.com/
> 
> 
> \### Linked PRs
> \* gh-160042

---

_[View the full topic](https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576)._
