Executive Summary
In October–November 2026, Indian certificate authority eMudhra suffered a significant PKI integrity failure rooted in a faulty custom Python script used in April 2025 to migrate private keys between hardware security modules (HSMs). The script reduced eight ECDSA private keys to a single byte—recoverable with only 256 guesses—while eight RSA private keys were processed in host memory outside HSM protections. A security researcher named Wayne disclosed the ECDSA weakness in October 2026, prompting Mozilla, Google, Apple, and Microsoft to block the affected trust chains. eMudhra subsequently revoked all 16 intermediate CA certificates, announced its exit from the publicly trusted TLS business, and commissioned an independent KPMG review.
This incident underscores the systemic risk of bespoke key-management tooling bypassing HSM security controls. As organizations increasingly rely on automated certificate lifecycle management, a single scripting error can silently undermine the entire chain of trust—exposing encrypted web traffic, code-signing pipelines, and enterprise TLS to forgery for months before detection.
Why This Matters Now
CA compromises are surging in regulatory scrutiny following the 2023–2026 wave of PKI incidents. With CA/Browser Forum tightening key-protection requirements and browsers accelerating distrust of non-compliant roots, any organization relying on third-party CAs for TLS, code signing, or internal mTLS must audit certificate provenance immediately. Enterprises using eMudhra-issued certificates for encrypted traffic or workload authentication face active trust-chain invalidation and potential traffic interception risk today.
Attack Path Analysis
A faulty custom Python script introduced during an HSM key-migration process in April 2025 weakened eight ECDSA private keys to a single byte and exposed eight RSA private keys in host process memory, effectively compromising eMudhra's intermediate CA private keys outside of HSM protection. This PKI infrastructure failure allowed any actor who recovered the trivially weak ECDSA keys to forge trusted TLS and code-signing certificates for arbitrary domains, enabling man-in-the-middle interception of encrypted communications, impersonation of legitimate software publishers, and ultimately forcing mass revocation of 16 intermediate CA certificates and eMudhra's exit from the publicly trusted TLS business.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
A buggy Python key-migration script processed eMudhra CA private keys outside HSM protection — reducing eight ECDSA keys to a single byte and exposing eight RSA keys in host memory. This constituted a supply-chain/insider misconfiguration event: the CA's root of trust was undermined by a trusted internal tool executing on a general-purpose host, making private key material recoverable by any party who could observe or reproduce the script's output. An early warning in June 2025 (CRL signing key mismatch) was dismissed without root-cause investigation, leaving the exposure undetected for over 16 months.
MITRE ATT&CK® Techniques
Subvert Trust Controls: Install Root Certificate
Obtain Capabilities: Digital Certificates
Unsecured Credentials: Private Keys
Weaken Encryption: Reduce Key Space
Adversary-in-the-Middle
Data Manipulation: Transmitted Data Manipulation
Command and Scripting Interpreter: Python
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
Mozilla Root Store Policy / CA/Browser Forum Baseline Requirements – Private Key Generation and Protection in HSM
Control ID: BR §6.1.1.1 / §6.2.11
NIST SP 800-53 Rev 5 – Cryptographic Key Management and System Integrity
Control ID: SC-12 / SC-28 / SI-7
DORA (EU Regulation 2022/2554) – ICT Security Controls, Vulnerability and Patch Management, and ICT-Related Incident Management
Control ID: Article 9(2) / Article 10 / Article 17
NIS2 Directive (EU 2022/2555) – Cryptographic Controls, Supply Chain Security, and Incident Reporting
Control ID: Article 21(2)(e) / Article 21(2)(h) / Article 23
PCI DSS 4.0 – Strong Cryptography for Data Transmission and Cryptographic Key Management
Control ID: Requirement 4.2.1 / Requirement 12.3.3
ISO/IEC 27001:2022 – Use of Cryptography, Configuration Management, and Response to Information Security Incidents
Control ID: Annex A 8.24 / Annex A 8.9 / Annex A 5.26
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Banking/Mortgage
PKI/CA compromise enables forged TLS certificates for transaction interception; revoked RSA intermediates issued since May 2026 threaten encrypted data-in-transit protections required under PCI 4.0 and NIST.800-53.SC-12.
Information Technology/IT
Faulty HSM key-transfer scripting and weakened ECDSA keys expose IT infrastructure to certificate forgery, lateral movement risks, and ZTMM.Network compliance failures across hybrid and multi-cloud environments.
Computer/Network Security
eMudhra's private key mishandling directly undermines PKI trust chains relied upon by security vendors; browser distrust actions by Mozilla, Google, and Apple signal systemic certificate authority integrity failures.
Financial Services
Compromised CA certificates enabling encrypted traffic interception create critical exfiltration risk for financial data; PCI 4.0.4.2.1 and HIPAA 164.312(e)(1) egress security controls are materially undermined.
Sources
- eMudhra revokes 8 more CA certificates after private key mishaphttps://www.bleepingcomputer.com/news/security/emudhra-revokes-8-more-ca-certificates-after-private-key-mishap/Verified
- Mozilla, Google, Apple block compromised eMudhra CA certificateshttps://www.bleepingcomputer.com/news/security/mozilla-google-apple-block-compromised-emudhra-ca-certificates/Verified
- Microsoft releases Windows OOB updates to distrust eMudhra certificateshttps://www.bleepingcomputer.com/news/microsoft/microsoft-releases-windows-oob-updates-to-distrust-emudhra-certificates/Verified
- Mozilla Bugzilla - eMudhra Incident Report (Bug 2083449)https://bugzilla.mozilla.org/show_bug.cgi?id=2083449Verified
- CA/Browser Forum - Baseline Requirements for TLS Certificate Issuancehttps://cabforum.org/baseline-requirements-documents/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is relevant to this incident because the attacker's ability to exploit weakened CA keys depended on reaching sensitive PKI infrastructure and moving laterally across trust boundaries within cloud environments. By enforcing strict segmentation around PKI workloads and controlling east-west traffic paths, CNSF would likely have reduced the blast radius of forged certificate abuse across hybrid and multicloud networks.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Strict micro-segmentation around PKI infrastructure hosts would likely have constrained which workloads and processes could reach or interact with the key-migration environment, reducing the reachability of the vulnerable script's execution context from broader cloud infrastructure.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation would likely constrain the ability of any workload or identity that recovered key material to reach downstream PKI signing infrastructure or certificate issuance systems, reducing the operational scope of the escalated cryptographic privilege.
Control: East-West Traffic Security
Mitigation: East-west traffic enforcement would likely constrain an attacker's ability to insert a forged TLS endpoint into inter-workload communication paths, reducing the reachability of a man-in-the-middle position across segmented cloud network domains.
Control: Multicloud Visibility & Control
Mitigation: Multicloud visibility and control would likely reduce the ability of attacker-controlled TLS sessions to blend into legitimate inter-service traffic, as anomalous communication patterns and unexpected outbound connections across cloud environments may surface for review and policy response.
Control: Egress Security & Policy Enforcement
Mitigation: Egress security and policy enforcement would likely constrain the outbound paths available to attacker-controlled sessions, reducing the reachability of exfiltration channels that rely on forged TLS certificates presenting as legitimate encrypted traffic to uninspected egress points.
Had prior CNSF controls constrained attacker reach across PKI infrastructure and cloud workload paths, the scope of certificate abuse would likely have been limited to fewer environments, reducing the number of affected trust chains and narrowing the operational disruption to customers dependent on eMudhra-issued certificates.
Impact at a Glance
Affected Business Functions
- Public Key Infrastructure (PKI) Certificate Issuance
- TLS Certificate Trust Chain Management
- Code-Signing Certificate Services
- Customer Certificate Lifecycle Management
Estimated downtime: 21 days
Estimated loss: N/A
No customer PII or regulated personal data was confirmed as directly exposed. However, 16 intermediate CA certificates were compromised or non-compliant, 8 of which had ECDSA private keys recoverable with only 256 guesses due to reduction to a single byte. RSA private keys for 8 additional intermediates were transiently exposed in host process memory outside HSM protections, violating CPS section 6.2.6. Certificates issued under affected RSA intermediates between May 2026 and November 3, 2026 for TLS and code-signing purposes were potentially at risk of forgery or impersonation. The theoretical attack surface included the ability to forge TLS certificates for any domain covered by the compromised intermediate chains, enabling man-in-the-middle attacks against encrypted web traffic. eMudhra confirmed no evidence of malicious exploitation of the compromised keys, but could not rule out undetected misuse during the exposure window.
Recommended Actions
Key Takeaways & Next Steps
- • Enforce encrypted traffic inspection with HPE/MACsec/IPsec controls so that even if forged certificates are used to establish TLS sessions in transit, anomalous certificate chain signatures and unexpected certificate issuers can be flagged at the network layer before data is exfiltrated across cloud or hybrid paths.
- • Deploy Zero Trust Segmentation with identity-based policy enforcement so that workload-to-workload trust is never solely derived from TLS certificate validity — microsegmentation ensures that even a compromised CA cannot grant lateral movement rights across namespace or service identity boundaries without explicit policy authorization.
- • Apply East-West Traffic Security controls to continuously inspect and baseline inter-service encrypted flows; any sudden appearance of certificates from an intermediate CA not previously observed in the environment should trigger automatic policy quarantine, limiting the blast radius of a CA key compromise to a single segment.
- • Use Multicloud Visibility and Control with centralized traffic observability to correlate certificate metadata across all cloud environments; anomalous certificate issuers, mismatched key identifiers (as occurred in eMudhra's June 2025 CRL signing mismatch), and unexpected certificate chains should generate high-fidelity alerts to the control plane before the compromise window extends 16+ months.
- • Apply Egress Security and Policy Enforcement with FQDN filtering and outbound traffic controls so that even if forged certificates enable an encrypted C2 or exfiltration channel, unauthorized destination enforcement and data-loss prevention policies can block or alert on outbound flows to unauthorized endpoints that would not appear in an approved egress allowlist, reducing the viability of certificate-based covert exfiltration channels.



