Apple has blocked eight compromised intermediate web certificates on its devices since 19 October, but several command-line tools built into macOS still trust them, according to the incident advisory published by Mozilla cryptography engineer Dennis Jackson.

The certificates were created by certificate authority eMudhra in April 2025. A flaw in its key generation meant all eight P-384 private keys were numbers smaller than 256, so anyone could recover them almost instantly, Jackson wrote in Mozilla’s incident report. Six of them can vouch for websites and chain to roots trusted by Apple, Google, Microsoft and Mozilla, so anyone holding the keys could have impersonated any site.

A researcher known as Wayne reported the flaw on 17 October. Firefox and Chrome blocked the certificates the same day, Apple followed on 19 October and Microsoft on 20 October, and eMudhra has revoked all eight.

The gap is in Terminal

macOS itself rejects the certificates. But the built-in curl, git, python3, perl, ruby and openssl check certificates against the file /etc/ssl/cert.pem without looking at revocation information, and that file has not been updated. The built-in pip3 uses its own, older copy of the root certificates. Jackson’s advisory lists commands that remove the affected roots, plus test addresses to check whether a tool still trusts them.

There are no certificate transparency log entries for the eight intermediates, which means Safari, Chrome, Firefox and Edge could not have been attacked, the advisory says. Whether anyone used the keys against other software is not known, and Apple has not said when a macOS update will refresh the file. 9to5Mac also reported the macOS warning.