Repository navigation
fix: require certifi 2026.10.19 to drop the compromised eMudhra root - #248
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The CLI now requires
certifi>=2026.10.19. That release dropsemSign ECC Root CA - G3, the root of the eight compromised eMudhra intermediate CAs.Before:
pip install --upgrade cortexapps-clikeeps any oldcertifiin the environment, and the lock pins 2025.7.14, which still has the root. After: installing or upgrading the CLI also upgradescertifi.Why
The private keys of eight eMudhra subordinate CAs can be computed from their public certificates, so anyone can forge a trusted certificate for any host. The CLI calls the Cortex API through
requests, which trustscertifi.How
certifi = ">=2026.10.19"inpyproject.toml.poetry lockmoves onlycertifi.cortexapp/cli, whose existingapt upgradestep also picks up Debian's fixedca-certificates. The current image (2026-10-19) still has the old Debian store.Verification
python:3.13-slim: it resolvescertifi 2026.10.19,cortex --helpruns, andpip checkpasses.certifi2026.10.18 and later reject all 16 compromised intermediate certificates.