← Blog · Guides

eMudhra certificate compromise: what to check in your container image

October 20, 2026

Update, 2 November 2026. On 30 October Cloudflare published its first measurements of what has happened since the keys broke ("4 real? Tracking exploitation and patching of eMudhra's weak keys"). Three findings bear on the advice in this post, and each comes with caveats Cloudflare states itself, quoted here with them.

How weak the keys were. Where eMudhra was meant to pick a 115-digit number, "they picked the number 4. Not even four digits, just the number 4." That is why Cloudflare calls the incident "fundamentally different" from earlier CA failures: "the affected intermediate private keys could be recovered almost instantly by anyone from the public certificates themselves."

Whether the keys have been used. Cloudflare logged its own outbound connections from 21 October and saw "about 22,000 attempted handshakes with the weak eMudhra keys" in a week. That number is mostly not attacks: "Two-thirds of the attempts were fetches of test sites", and almost all of the rest went to servers that had set up a certificate with the weak intermediate for themselves. About 160 stood out, carrying certificates that named other organizations' domains and were made after the keys leaked. Cloudflare's own reading of those 160 is careful: they "looked like the servers' own default certificates rather than part of an attempt to intercept our connections", and "while there is no evidence of the weak keys being used to intercept Cloudflare's connections so far, these keys appear to have been used to forge certificates within hours of the weakness becoming public". It adds: "This does not exclude carefully targeted interception." Every handshake configured to verify the certificate was refused.

How much has been patched. Cloudflare probed the browsers and clients that load its challenge pages (a share of pages on non-paying zones, ramped from 1% to 10%). "Up-to-date modern browsers are mostly patched, but bots and old browsers are not." Embedded browsers such as Android WebView had "30–40% still accepting", and "Across the large networks, more than half of probes still accept the compromised chain", with the trend "flat" after some patching over the first weekend. Cloudflare's caveats belong next to those figures: "traffic is skewed by (unconfirmed) bots", the evidence is "suggestive rather than conclusive", and a bot-detection change on 29 October moved some traffic between categories. Its own summary is the useful one: "bots are also just software that need security updates. And if they're in any way representative of overall software updates, then the picture is quite dire indeed."

For a container, that last sentence is the point. The client that makes outbound HTTPS calls from your app, whether an SDK, an HTTP library or a cron job, is exactly the kind of software that is not updated until someone rebuilds the image. The steps below are unchanged; ten days in, the measurement says most software has not taken them yet. Cloudflare's advice is one word, "Patch!", and it points to Dennis Jackson's crowdsourced list for per-package instructions. Note that Cloudflare's test hostname now serves an ordinary certificate chain, so a successful connection to it no longer tells you anything about your trust store.

Source for this update: Cloudflare, "4 real? Tracking exploitation and patching of eMudhra's weak keys", Maxime Guerreiro, Rupert Carr, Miguel de Moura and Bas Westerbaan, published 30 October 2026, read 2 November 2026.

Update, 23 October 2026. On 22 October eMudhra published a press release saying its board "decided to voluntarily withdraw from the global SSL/TLS certificate business". For anyone holding an eMudhra certificate, the practical lines are these, all eMudhra's own: "Our G1 RSA roots will continue to serve customers until this transition is complete as we work with browser programs and our customers"; "eMudhra will reach out to affected customers to replace any certificate free of cost from partners through the transition"; and "Revocation and certificate status services will keep running until every issued certificate has expired or been replaced". A "full root-cause report" to the browser root programs is still to come. So if you have one of these certificates, there is a replacement path, free, through partners, and a clock set by the roots' transition and by each certificate's expiry: plan the swap rather than rush it.

The same release carries eMudhra's own account of the incident, from its chairman V. Srinivasan, and it should be read as that. eMudhra says it "handled the recent incident diligently, revoking the affected CAs within 14 hours of discovery", that "There were no end entity certificates issued out of the affected CA's", and that "Its infrastructure was not compromised and no data was breached". It puts SSL/TLS at "about 1% of the global revenue" and says "the level of social media amplification around this incident has brought scrutiny that is out of proportion to SSL/TLS's place in our business". Cloudflare's write-up, quoted below, says the private keys of eight intermediate certificates were compromised; eMudhra's statement says its infrastructure was not. Those are claims about different things, a key and an issuing environment, and this post does not adjudicate between them. Each is attributed to the party making it.

On 20 October 2026 Cloudflare published an incident write-up that every team shipping containers should read. Its opening: "On October 19, 2026, at approximately 17:00 UTC, Cloudflare became aware that private keys associated with eight eMudhra intermediate certificates were compromised. These certificates were widely trusted by browsers, operating systems, and also within Cloudflare." And why it matters: "Because the keys themselves are weak, an attacker can create a forged certificate for any domain and use it to impersonate servers to intercept or modify traffic."

Two limits are worth keeping in view, both in Cloudflare's own words. On exploitation: "Our security review has not identified active exploitation of this issue on Cloudflare services." On scope: "This work addresses certificate-based authentication, not a weakness in TLS's encryption algorithms." This is eight intermediate certificates from one certificate authority, not a break in TLS itself.

Why a container is where this gets missed

Browsers were the easy part. Cloudflare notes that browser makers fixed it "with a flip of a switch", using quick-revocation mechanisms such as Chrome's CRLSets. Your application is a different story. When your code calls a payment API, a webhook endpoint or another service over HTTPS, something decides whether that server's certificate is trustworthy, and that something is usually not a browser.

Cloudflare's guidance to its own container customers is direct: "Customers using Cloudflare Containers, including Sandboxes, should review their container images and application dependencies for affected certificate trust stores and apply updates based on your deployed image." The phrase that matters is your deployed image. A trust store is a file. If it was copied into your image at build time, your running app keeps using that exact file until you rebuild the image and redeploy it. Updating packages on your laptop changes nothing in production.

Look beneath the SDK

The most useful section of the write-up is its developer guidance: "An API client may delegate certificate verification to an HTTP library, a language runtime, the operating system, or a custom trust configuration. Updating the SDK alone may not change the underlying policy."

In practice an application can trust certificates through several different paths, and they do not all update together:

  • The operating system's bundle. On Debian, Ubuntu and Alpine based images this is the ca-certificates package. It only changes when the image is rebuilt with an updated package.
  • The language runtime's own bundle. Node.js ships a built-in certificate list compiled into the binary, so a Node app may ignore the OS bundle entirely unless configured otherwise. Upgrading the Node version is what changes it.
  • A package that carries its own list. Python's requests, for example, uses the certifi package by default. Java uses its own cacerts keystore inside the JDK.
  • A custom trust configuration. A pinned CA file in your repo, a setting in an HTTP client, or a bundle someone vendored years ago.

Mozilla's Dennis Jackson has crowdsourced a list of commonly used packages that have been patched, along with a test site. Cloudflare adds a warning about that list: some of these packages "may be indirect dependencies of your software stack, so look at the dependency tree."

What to do with your image

  1. Find out which trust path your app uses. Check the base image, the language runtime version, and any HTTP or TLS library in your dependency tree, including indirect ones.
  2. Update at each layer that applies. Pull a refreshed base image or update ca-certificates in your Dockerfile, upgrade the runtime if it bundles its own list, and bump packages like certifi against the patched list.
  3. Rebuild and redeploy. Cloudflare's wording: "Apply the relevant dependency updates, rebuild affected images, and confirm whether applications require a reload, restart, or redeployment." A rebuilt image that is not running yet has fixed nothing.
  4. Verify on the path your app actually uses. This is where good intentions go wrong: "A successful browser test does not prove that a background service is protected. Neither does a curl test if the application uses a different verifier." Run the check from inside the running container, using the same language and library your code uses.

A quick way to see what an image contains, run on your own machine against the image you deploy:

# Debian / Ubuntu based image: which ca-certificates version is baked in?
docker run --rm your-image:tag sh -c 'dpkg -s ca-certificates | grep Version'

# Alpine based image
docker run --rm your-image:tag sh -c 'apk info -v ca-certificates'

# Python app using requests / certifi
docker run --rm your-image:tag python -c 'import certifi; print(certifi.__version__)'

# Node app: the bundled list changes with the Node version
docker run --rm your-image:tag node -v

Compare what you find against the patched-package list, then rebuild.

Do not make the errors go away the wrong way

After you patch, some outbound calls may start failing with certificate errors. That is the patch working: a certificate chain your app used to accept is no longer trusted. Cloudflare is blunt about the wrong response: "Once you patch, you may notice certificate errors in your dashboards. It's important to not resolve these errors by disabling verification. That would remove the authentication protection these updates are intended to restore."

So no verify=False, no NODE_TLS_REJECT_UNAUTHORIZED=0, no InsecureSkipVerify as a quick fix. If a service you call fails after patching, the fix is for that service to get a certificate from a chain that is still trusted. Tell them, and keep verification on while you wait.

What comes next

Cloudflare's closing point is that a trust store should not be a static list baked in once and forgotten. It names the upki project as an example of trust stores that can be updated quickly with revocation information. Until that is normal, the practical habit is simple: treat certificate trust like any other dependency. Rebuild images on a schedule, not only when you change your code.

This is a different problem from the Let's Encrypt change we covered this week. That one is about how a certificate authority checks your domain before issuing a certificate; see Let's Encrypt will validate your domain from seven places. This one is about which certificates your app trusts when it connects out. Different mechanism, different fix.

Source: Cloudflare, "eMudhra certificate compromise", published 20 October 2026, read 21 October 2026; eMudhra press release, published 22 October 2026, read 22 October 2026 at 23:14 UTC.