Advisory

GHSA-6q48-6c7w-9gw2

Also known as: PYSEC-2026-4320

Summary

certifi bundles emSign root CAs with compromised intermediate CA keys

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-10-20 19:35 UTC
Modified
2026-10-26 16:15 UTC

Affected packages and fixes

certifi

PyPI · All systems

Affected

  • introduced 2019.03.09, fixed 2026.10.18 (ecosystem)

Fixed versions

2026.10.18

Fix

  • Fixed version 2026.10.18
    pip install --upgrade certifi==2026.10.18

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences