GitHub Advisoryadvisory · PyPI

GHSA-6q48-6c7w-9gw2 certifi bundles emSign root CAs with compromised intermediate CA keys

CRITICAL Published 2026-10-20 Modified 2026-10-26 Official page ↗
Ecosystem
PyPI
Packages
certifi
Severity
Critical
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-295
Reviewed
2026-10-20

Affected packages

• PyPI certifi: >= 2019.03.09, < 2026.10.18 → fixed in 2026.10.18

Description

Certifi versions before 2026.10.18 include the `emSign ECC Root CA - G3` root certificate in their bundled CA store. Eight eMudhra intermediate CA certificates that chain to this root have compromised private keys and the CA has revoked them. An attacker with one of the compromised keys can issue valid-looking certificates for any hostname. If the attacker is also on-path, they can intercept or modify TLS traffic from clients that trust the certifi bundle. Examples include `requests`, `urllib3` and `pip`, and the Python.org macOS installer. Certifi 2026.10.18 removed all emSign roots from the bundle. Certifi 2026.10.19 restored the emSign roots that are not affected. Upgrade to 2026.10.19 or later, and rebuild container images that vendor certifi.

Related

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References