Security advisory · TLS · code signing
EMUDHRA
Published · updated
On 2026-10-17 a researcher found that the private keys of eight eMudhra intermediate CAs — six for TLS, two for code signing — could be recovered near instantly. Several people have since recovered them independently: treat the keys as public.
Anyone holding one can issue a certificate for any domain, and any client that still trusts the chain and does not enforce Certificate Transparency will accept it. It is not a weakness in TLS encryption.
No certificates from these CAs appear in the CT logs, so CT-enforcing browsers — Firefox, Chrome, Edge, Safari — could not have been attacked. No source reports misuse, and none can rule it out for clients that skip CT: curl, language runtimes, agents and container images.
- Impact
- A forged certificate for any domain
- Exposed
- Clients that skip CT: curl, language runtimes, agents, container images
- Not exposed
- CT-enforcing browsers: Firefox, Chrome, Edge, Safari
- Keys found
- Swamp fixed in
20261021.223953.0
[01]
Eight compromised CAs
[A]Timeline
10-17
Weak keys found and reported to the root programs; Chrome (CRLSet) and Firefox (OneCRL) block the TLS intermediates the same day.
10-18
eMudhra revokes all eight intermediates; Mozilla opens its incident bug.
10-19
Sectigo revokes its cross-signs; webpki-roots 1.0.10 and Go 1.27.3 / 1.26.10 ship.
10-20
Public disclosure; Mozilla and Chrome announce they will remove trust in emSign ECC Root CA - G3; NSS 3.131.1, Debian, Ubuntu and Alpine updates.
10-21
Deno 2.9.8 ships the fix (denoland/deno#37046); Swamp
20261021.223953.0ships on it.10-27
Chrome's removal of the emSign root is due to reach all devices.
[B]Indicators
- Any end-entity certificate issued by an
EM DV/OV/EV TLS CA - G3BorG3Cintermediate. None was ever issued legitimately, so one in your logs is forged. - A trust store that still holds
emSign ECC Root CA - G3(SHA-25686A1ECBA…BE6B) without blocking the eight intermediates. - A client that connects to
dv-g3b-emudhra.we-have-a-problem.comwithout a certificate error.
[C]Mitigations
- Update
ca-certificates(Debian DSA-6572-1, Ubuntu USN-8944-1, Alpine20261020-r0) and rebuild container images that vendor a CA bundle. - Update runtimes that bundle their own roots: Go
1.27.3/1.26.10, Node.js22.23.4/24.22.1/26.12.1, certifi2026.10.19, pip26.2.2, rustls-webpki0.103.16, webpki-roots1.0.10, Deno2.9.8, Electron42.11.16/43.8.1/44.9.1. - Update agents: cloudflared
2026.10.2, Cloudflare One / WARP2026.8.2115.0. - Restart long-running services so they reload their trust store.
- Never clear a certificate error by disabling verification.
[02]
Check and fix with Swamp
Step 1:Am I affected?
A host is likely exposed if any of these is true.
A browser or
curltest proves only that one client is fixed: another verifier on the same host can still trust the chain.- Its
ca-certificatespackage predates your distro's fix, or the distro has not shipped one. - It runs software that bundles its own roots — Go, Node.js, Python certifi or pip, Rust
webpki-roots, Deno, Bun, Java, Electron — on a version older than the fix. - It runs container images built before 2026-10-20 that carry their own CA bundle.
- It is a Mac. Apple's block rejects the TLS copies, but the cross-signed code-signing copies still verify, and
/etc/ssl/cert.pem(built-in curl, git, python3) still carries both roots. Homebrew's CA bundle can still carry them too. - It runs Windows without Microsoft's disallowed-list update of 2026-10-20, or with automatic root and disallowed-list updates turned off: CryptoAPI then still trusts the intermediates. Git for Windows ships its own bundle, which can still carry the roots.
- Its
Step 2:Swamp itself
Swamp is a compiled Deno binary, so it trusts Deno's bundled roots. Releases up to
20261021.015131.0-sha.bfde0792are built on Deno 2.9.7, and their own HTTPS connections trust the compromised chain.Fixed in
20261021.223953.0-sha.ea2a36f5and later, which build Swamp on Deno 2.9.8: it distrusts the eight intermediates and the emSign root. Tracked in Lab #3699.Update Swamp:
swamp updateCheck the version is 20261021.223953.0 or later:
swamp versionStep 3:Install Swamp and the scanner
The @swamp/cve/emudhra extension checks Linux, macOS and Windows hosts and Linux containers. It judges each compromised intermediate with the verifier the host's clients use —
openssl verifyon Linux,security verify-certon macOS, CryptoAPI on Windows — then checks the runtimes, language stores, Electron apps and agents that carry their own roots.scanneeds no root or administrator rights and leaves nothing on the target.Install Swamp:
curl -fsSL https://swamp-club.com/install.sh | shInitialize a new repo (run this in a new empty directory):
swamp repo initPull the scanner:
swamp extension pull @swamp/cve/emudhraCreate the scanner instance:
swamp behavior create @swamp/cve/emudhra emudhra-scannerAm I exposed:
swamp behavior run emudhra-scanner scanMitigate (a dry run unless you pass dryRun=false):
swamp behavior run emudhra-scanner mitigateSet
dockerImageordockerContainerwith--global-argto scan an image or a running container instead.Swamp on Linux or macOS can scan all of them. Swamp on Windows scans itself and Linux or macOS hosts over SSH, through temporary files it removes afterwards, but not another Windows host over SSH: scan that one locally or from Linux or macOS. Windows containers are not supported.
Step 4:Scan your fleet
Give the scanner your SSH user and key when you create it, then pass a comma-separated list of hosts and
scanFleetscans each one in parallel. A host that needs a different login takes it asuser@host; plain entries usesshUser, and every host usessshKey.swamp behavior create @swamp/cve/emudhra emudhra-fleet \ --global-arg sshUser=ubuntu \ --global-arg sshKey=~/.ssh/id_ed25519swamp behavior run emudhra-fleet scanFleet \ --input hosts=ubuntu@10.0.1.50,admin@10.0.1.51,10.0.1.52›Scan results
Four real scans with the live check: Debian 12 on its
20230311package, stock Fedora 43 and Alpine 3.22, and Ubuntu 24.04 with ca-certificates installed. Hosts are container IDs.Host OS Risk OS store ca-certificates Exposed components Live check f5dc79b7b965 Debian GNU/Linux 12 (bookworm) CRITICAL TRUSTS (emsign, aaa path) 20230311+deb12u1 (exposed) none curl emsign: accepted, openssl emsign: accepted, curl aaa: accepted, openssl aaa: accepted 2f63ffc012d8 Fedora Linux 43 (Container Image) CRITICAL TRUSTS (emsign path) 2025.2.80_v9.0.304-1.2.fc43 (exposed) java-cacerts curl emsign: accepted, curl aaa: rejected 9fe54e4fb185 Alpine Linux v3.22 CRITICAL TRUSTS (emsign path) 20260909-r0 (exposed) none - bfc23350c576 Ubuntu 24.04.5 LTS NONE rejects 20260816ubuntu0.24.04.1 (fixed) none curl emsign: rejected, openssl emsign: rejected, curl aaa: rejected, openssl aaa: rejected Step 5:Mitigate across your fleet
mitigatere-scans each host and skips the clean ones. On an exposed host it upgradesca-certificates; if the store still trusts the intermediates, it distrusts the root as the upstream fixes do, upgrades cloudflared and WARP, then rescans.On Windows it adds each intermediate CryptoAPI still trusts to the Disallowed store, and needs an elevated administrator session. On macOS it never changes trust over SSH: it saves a deny-trust script to run locally with sudo, or to send as an MDM payload.
dryRundefaults totrue— the method shows the plan and changes nothing. PassdryRun=falseto apply. It only connects to SSH hosts whose key is already known, so runscanFleetfirst:swamp behavior run emudhra-fleet mitigate \ --input hosts=ubuntu@10.0.1.50,admin@10.0.1.51,10.0.1.52 \ --input dryRun=falseWithout root or matching passwordless sudo, or on Windows without an elevated session, a host is reported as
needs-privilege, nothing is changed, and amitigationScriptis saved for you to review and run — a.ps1on Windows. Containers are never modified: mitigate reports the Dockerfile change to rebuild with. Deno, Swamp, Bun, Java stores, certifi and other bundles, Electron apps and lockfiles are reported as manual steps. It never disables certificate verification.
[03]
References
Find every host still trusting the chain
Pull the scanner and run it across every host and image you own.
swamp extension pull @swamp/cve/emudhra