> ## Content Index
> Fetch the complete content index at: https://app.hostwolf.net/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# The eMudhra CA revocation broke TLS in two places at once: Docker pulls and pip installs. What to check on your servers
- URL: https://app.hostwolf.net/blog/emudhra-ca-revocation-docker-pip-tls/
- Published: 2026-10-24T21:55:09.000Z
- Updated: 2026-10-24T21:55:13.000Z
- Description: Docker Engine 29.9.2 and the expedited 2026-10-21 pip releases both block the revoked eMudhra intermediates, but a patched host fixes neither your existing virtualenvs nor last week's images. Here is how to diagnose the failure, upgrade pip and certifi, rebuild, and verify.
- Author: Hostwolf
- Tags: News, Security, Docker, Python

On 2026-10-20 Docker Engine 29.9.2 shipped, rejecting certificate chains containing eight revoked eMudhra intermediates, and on 2026-10-21 Python shipped expedited releases (3.15.1, 3.14.9, 3.13.17) bundling pip 26.2.2 with certifi 2026.10.19\. If your `docker pull` or `pip install` started throwing TLS errors after the eMudhra certificate revocation, this is the likely cause, and the fix differs depending on which side of the connection is out of date. The incident broke TLS in two opposite directions at once: patched clients now refuse the bad chain, while some endpoints are still presenting it. This article separates those two modes and walks through the actual remediation.

## What happened, and when

The sequence, from the primary sources:

- **2026-10-17**: A researcher reported that eight eMudhra intermediate CA private keys were single-digit and double-digit integers instead of 384 bits of entropy, from a flawed key generation ceremony on 2025-04-30 ([Cisco Talos](https://blog.talosintelligence.com/compromised-intermediate-certificates/?ref=app.hostwolf.net)).
- **2026-10-18**: eMudhra revoked all eight intermediates. Browser root programs distrusted the entire ECC root as a precaution (eMudhra incident post, a vendor claim).
- **2026-10-20**: [Docker Engine 29.9.2](https://docs.docker.com/engine/release-notes/29/?ref=app.hostwolf.net) shipped, updating the Go runtime to 1.26.10 to address CVE-2026-111943 by rejecting chains containing the eight revoked intermediates.
- **2026-10-21**: [Python shipped expedited releases 3.15.1, 3.14.9 and 3.13.17](https://blog.python.org/2026/10/python-3151-3149-31317/?ref=app.hostwolf.net), all bundling pip 26.2.2, which vendors certifi 2026.10.19.

Three to four days from researcher report to fixed Docker and Python releases. Scope, stated honestly: Talos reported no malicious exploitation in the wild as of 2026-10-21 14:00 UTC, and registry impersonation does not bypass package integrity controls such as lockfile hashes, checksums or signatures. Also worth being precise about: no source documents a Docker Hub or PyPI outage. Docker pull failures are registry-dependent. They happen when the registry you connect to still serves a chain from one of the revoked intermediates.

The eight intermediates split into two groups. Per [Apple](https://support.apple.com/en-us/149555?ref=app.hostwolf.net), someone holding keys from the six TLS CAs could have created certificates appearing valid for any website. That is what makes this an impersonation risk rather than a break in TLS encryption itself.

| Intermediate             | Purpose      | Entity                   |
| ------------------------ | ------------ | ------------------------ |
| EM DV TLS CA - G3B / G3C | TLS          | eMudhra BV / eMudhra Inc |
| EM OV TLS CA - G3B / G3C | TLS          | eMudhra BV / eMudhra Inc |
| EM EV TLS CA - G3B / G3C | TLS          | eMudhra BV / eMudhra Inc |
| EM OV CS CA - G3B / G3C  | Code signing | eMudhra BV / eMudhra Inc |

G3B intermediates belong to eMudhra BV and G3C to eMudhra Inc, per [Docker's release notes](https://docs.docker.com/engine/release-notes/29/?ref=app.hostwolf.net).

## Which of the two failures are you looking at?

The revocation broke TLS in two opposite directions, and diagnosing the wrong one wastes hours.

![Split illustration on a dark background. Left periwinkle panel: a downward arrow above a cracked padlock and broken…](https://app.hostwolf.net/blog/content/images/2026/10/emudhra-ca-revocation-docker-pip-tls-two-failure-modes.webp)

Two failure directions after a CA revocation: the client no longer trusts the chain (left), while the endpoint is still presenting it (right).

**Failure A, client-side:** your client was patched, but something inside it still trusts or carries the old chain. The canonical case is pip in an existing virtualenv. Even after the OS trust store was updated, pip keeps trusting the compromised intermediates because it always loads its vendored certifi in addition to the system store (Python Discourse advisory).

**Failure B, endpoint-side:** a registry or service you connect to still presents a certificate chain from one of the eight intermediates. Docker's own release notes describe exactly this: pulls and pushes fail TLS verification when the registry's chain relies on an affected intermediate, and the registry operator must deploy a replacement chain. There is nothing you can patch on your side to make that endpoint work with a patched client, short of reissuing its certificate.

### Failure A: patched client still trusting or carrying the old chain

A quick diagnostic from the independent incident site: run `curl https://dv-g3b-emudhra.we-have-a-problem.com/`. A certificate error means your client is patched. A successful connection means it is not. This canary host presents the compromised chain on purpose.

If pip is the client in question, the fix lives in the pip section below.

### Failure B: a registry or endpoint still presenting a revoked intermediate

If your client is confirmed patched but a specific pull or connection still fails, inspect the chain the endpoint serves (covered below). The endpoint needs a reissued certificate from an unaffected CA. Until its operator deploys one, your options are wait or, on your own infrastructure, reissue it yourself.

## Reading the error messages: Go, pip and silent failures

Go-based clients (Docker Engine, registry CLIs) show `x509: certificate signed by unknown authority` or `x509: no valid chains built`. Neither message names eMudhra, and both have other mundane causes, such as a missing corporate proxy CA. Inspect the actual certificate chain before assuming.

pip and Python clients show `SSL: CERTIFICATE_VERIFY_FAILED` or similar. Note the counterintuitive direction: after patching, a pip failure can mean the client is fine and the endpoint is not. Meanwhile, an unpatched pip keeps succeeding against a compromised chain, which is the dangerous case.

Silent failures are real. Portainer documented OAuth failures ("Unable to authenticate through OAuth") and LDAP failures ("Failed to create LDAP connection") where only DEBUG log level surfaced the underlying certificate error. Check logs before blaming your identity provider.

One more trap: connections that already have TLS verification disabled show no symptom at all. Disabling verification masks the problem without fixing it.

## Fix pip: why updating the OS trust store was not enough

The structural reason: per [PEP 453](https://peps.python.org/pep-0453/?ref=app.hostwolf.net), ensurepip ships the pip CA bundle along with pip itself, so every CPython install and every virtualenv carries its own trust bundle. Per the [Python Discourse advisory](https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576?ref=app.hostwolf.net), pip below 26.2.2 always loads its vendored certifi in addition to the system store, with no supported way to disable that. `REQUESTS_CA_BUNDLE` and `--cert` only add CAs; they do not replace the vendored bundle. This applies to every virtualenv in your deployment environments too, not just your laptop.

### The upgrade order that matters: pip first, hash-pinned

In each existing virtualenv, upgrade pip first, using the hash-pinned wheel from the official advisory, because the download itself must be protected:

```
python -m pip install "pip @ https://files.pythonhosted.org/packages/3f/06/3e4420302363fbb71be3c7f35ce042f54bfca330e3e66b3a2e3c4cca579f/pip-26.2.2-py3-none-any.whl#sha256=fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70"

```

Then use the fixed pip to upgrade certifi and uv:

```
python -m pip install -U "certifi>=2026.10.19" "uv>=0.13.4"

```

Contrast with uv: it can verify against system certificates with `UV_SYSTEM_CERTS=true` or `--system-certs`, so it behaves differently from pip under the same incident.

### Minimum versions to reach in every environment

Per the official advisory: certifi 2026.10.19, pip 26.2.2, uv 0.13.4, sigstore 4.5.1, conda 26.9.4, pixi 0.82.1\. The advisory text mentions 2026.10.18, but 2026.10.19 is the recommended certifi minimum.

### Lockfiles and caches that put the old certifi back

Pins like `certifi==2025.x.x` in requirements files, uv.lock, poetry.lock, Pipfile.lock or pylock.toml reinstall the old bundle on the next install. Regenerate lockfiles, and invalidate CI caches (GitHub actions/cache, GitLab cache, Docker layer cache) that may hold stale certifi wheels or cacert.pem.

## Fix Docker: patched host, unpatched images

Containers do not receive updates the way hosts do. Base images like python and debian shipped the affected chains, so containerized applications need a rebuild ([Wagtail write-up](https://wagtail.org/blog/wagtail-emudhra-ca-compromise/?ref=app.hostwolf.net)). Or, as the [zerohunt.ai write-up](https://zerohunt.ai/blog/emudhra-ca-keys-python-certifi-pip-trust-store-remediation/?ref=app.hostwolf.net) put it: "A patched host does nothing for an image built last week."

### Engine first, then rebuild with --no-cache --pull

Update Docker Engine itself to 29.9.2 (Go 1.26.10) so your own pulls, pushes and any other Go-based verification reject the bad chains. Then rebuild images:

```
docker build --no-cache --pull -t myapp:fixed .

```

Chainguard's guidance adds a caveat: pulls can still deliver older bundles while registries sync, so verify afterwards rather than assuming the rebuild was sufficient.

### The pip-in-image trap on python:3.11 and 3.12 tags

Rebuilding from `python:3.11-slim` (pip 24.0) or `python:3.12-slim` (pip 25.0.1) still bundles an unpatched pip. `python:3.13-slim` and `3.14-slim` ship pip 26.2.2 already. For older tags, add this to the Dockerfile:

```
RUN pip install --no-cache-dir -U "pip>=26.2.2"

```

Hash-pinning the wheel URL, as in the pip section above, is the better form.

### Components that need their own fix: Rust, Java, gRPC, vendored bundles

Go binaries baked into images need to be rebuilt with Go 1.27.3 or 1.26.10+. Software that reads `/etc/ssl/certs/ca-certificates.crt` is covered by updating the base image, but per [Chainguard](https://support.chainguard.dev/hc/en-us/articles/57499369353755-ACTION-REQUIRED-Update-all-Chainguard-Images-to-remove-eMudhra-Intermediate-CA-Data?ref=app.hostwolf.net): Rust needs webpki-roots >=1.0.10 and rustls-webpki >=0.103.16, Java truststores need fixing manually, and gRPC needs pointing at the system bundle. Then run the trust check inside each image, not only on the host. The check-trust script and the in-container canary test (a patched instance rejects `dv-g3b-emudhra.we-have-a-problem.com` and accepts `example.com`) both work inside containers.

## If you run a private registry or depend on an endpoint with an affected chain

If your registry's certificate chain relies on one of the eight intermediates, it needs a replacement certificate chain. That is straight from the [Docker release notes](https://docs.docker.com/engine/release-notes/29/?ref=app.hostwolf.net). The same applies to any integration endpoint still presenting an eMudhra chain: webhook receivers, SMTP servers, S3-compatible endpoints.

### Reissue, don't disable

Azure App Service's advisory states plainly: "Do not work around certificate errors by disabling TLS certificate validation." The [Appwrite write-up](https://appwrite.io/blog/post/emudhra-certificate-compromise-appwrite.md?ref=app.hostwolf.net) repeats the same warning for webhooks. Disabling verification removes the symptom and the protection.

For context on why the risk is real: eMudhra states no certificates were ever issued from the revoked intermediates and that impact was "contained to a single customer ecosystem in the United States." That is a vendor claim. Against it, Apple assessed that keys from the six TLS CAs could have been used to create certificates valid for any website, and independent researchers run test hosts presenting the compromised chains to prove the risk was practical.

### How to inspect your served chain

1. Inspect the served chain with `openssl s_client -connect registry.example.com:443 -showcerts`, or check your TLS terminator's configuration.
2. Compare intermediates against the eight names listed above.
3. Obtain a reissued chain from an unaffected CA.
4. Deploy it before more of your clients update their trust stores, because every patched client that connects to you starts failing the moment it updates.

## Shortcuts that do not work after the eMudhra certificate revocation

Collected from write-ups that tested them, this section should save you the most time.

- **Upgrading certifi alone does not fix pip.** In [alokranjan.me's trust-list testing](https://alokranjan.me/blog/trust-lists/?ref=app.hostwolf.net), pip downloads still succeeded against a compromised test host because pip ships its own `pip._vendor.certifi`.
- **`PIP_CERT=/etc/ssl/certs/ca-certificates.crt`** fixed pip 24.0 in the same write-up's testing but was a no-op on pip 25.0.1\. Environment-variable workarounds are unreliable across pip versions; upgrade pip instead.
- **`SSL_CERT_FILE` alone does not constrain Node.js clients.** In that same testing, what worked: `NODE_OPTIONS=--use-openssl-ca SSL_CERT_FILE=/path/to/bundle.pem SSL_CERT_DIR=/nonexistent`.
- **Updating only the host's ca-certificates package** does nothing for pip's vendored bundle, for existing virtualenvs, or for images built before the fix.

### Why "it connects" proves nothing

[Azure App Service](https://azure.github.io/AppService/2026/10/22/emudhra-certificate-issue-app-service-linux.html?ref=app.hostwolf.net): "A successful HTTPS request alone is not proof that the issue is mitigated." An unpatched client connecting successfully against a compromised chain is the actual risk, not a failure. Verify rejection, not connectivity.

## Verification checklist

### Check pip's vendored bundle directly

Inside each virtualenv and each image:

```
python -c "import pip._vendor.certifi as c; print('emSign ECC Root CA - G3' in open(c.where()).read())"

```

`True` means pip still trusts the bad root.

### Canary tests on host and in containers

A patched client rejects `dv-g3b-emudhra.we-have-a-problem.com` (and the aaa variant) with a certificate error. Fourteen canary hosts on the [incident site](https://emudhra.we-have-a-problem.com/?ref=app.hostwolf.net) cover the different intermediates. Run the checks inside containers, not just on the host.

### Confirm rejection, then confirm versions

pip >= 26.2.2, certifi >= 2026.10.19, uv >= 0.13.4, Docker Engine >= 29.9.2, Go binaries compiled with Go 1.27.3 or 1.26.10+. After redeploying, follow [Render's advisory](https://render.com/docs/advisory-emudhra?ref=app.hostwolf.net) wording and confirm certificate rejection: the goal is that the bad chain is refused, not that traffic flows. Check CI runners and cached layers too. As the itdef.net write-up puts it: "If even one old copy remains, you are not done."

Residual risk, per Talos: audit appliances and proxies with bundled CA stores (load balancers, VPN clients, gateways), and remember that impersonation does not bypass lockfile hashes, checksums or signature verification. Keep those controls in place.

## Where this leaves your servers this week

1. Update Docker Engine to 29.9.2.
2. Fix every virtualenv's pip first, hash-pinned.
3. Rebuild images with `--no-cache --pull` and upgrade pip inside the python:3.11 and 3.12 images.
4. Reissue certificates on any endpoint you control that still serves an affected chain.
5. Verify rejection with the canary hosts inside every venv and image, then confirm versions everywhere, because a stale certifi in one forgotten CI cache puts the whole problem back.

Running your own servers means you decide when to patch. Whatever your setup, the checklist above applies.

## Frequently asked questions

### My docker pull or pip install started failing with a TLS error after patching — is it this CA issue?

Possibly, from either direction. A patched Docker Engine now refuses registries whose chains use one of the eight revoked eMudhra intermediates — the registry needs a reissued certificate. A pip failure after patching can mean an unpatched pip in a virtualenv is now failing against an untrusted endpoint. Test against the canary hosts to see which side is out of date.

### Why did updating the OS ca-certificates package not fix pip?

pip always loads CA certificates from its vendored certifi bundle in addition to the system trust store, with no supported way to disable that. Any pip below 26.2.2 keeps trusting the compromised intermediates regardless of OS updates. Upgrade pip itself, then certifi and uv with it.

### Do I need to rebuild my container images if the host is already patched?

Yes. Images built from base images that shipped the affected chains keep them until rebuilt, and many still bundle an old pip. Rebuild with docker build --pull --no-cache, upgrade pip inside the image for python:3.11 and 3.12 tags, and run the verification checks inside the image.

### Which exact versions do I need for pip, certifi, uv and Docker Engine?

Per the official advisories: pip 26.2.2, certifi 2026.10.19, uv 0.13.4, Docker Engine 29.9.2, and Go 1.27.3 or 1.26.10 for self-built Go binaries. Also sigstore 4.5.1, conda 26.9.4 and pixi 0.82.1 where used.

### How do I verify the fix actually works instead of trusting a version number?

Check pip's vendored bundle directly with the certifi content one-liner, and curl a canary host such as dv-g3b-emudhra.we-have-a-problem.com: a certificate error means your client rejects the compromised chain. Run both checks inside each container image, not just on the host, and confirm rejection after every redeploy.