Skip to content

fix: require certifi 2026.10.19 to drop the compromised eMudhra root - #248

Merged
jeff-schnitter merged 1 commit into
mainfrom
fix-emudhra-ca-trust
Oct 22, 2026
Merged

jeff-schnitter merged 1 commit into
mainfrom
fix-emudhra-ca-trust

Conversation

@aszarama

Copy link
Copy Markdown
Contributor

What

The CLI now requires certifi>=2026.10.19. That release drops emSign ECC Root CA - G3, the root of the eight compromised eMudhra intermediate CAs.

Before: pip install --upgrade cortexapps-cli keeps any old certifi in the environment, and the lock pins 2025.7.14, which still has the root. After: installing or upgrading the CLI also upgrades certifi.

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 trusts certifi.

How

  • certifi = ">=2026.10.19" in pyproject.toml. poetry lock moves only certifi.
  • The release rebuilds cortexapp/cli, whose existing apt upgrade step also picks up Debian's fixed ca-certificates. The current image (2026-10-19) still has the old Debian store.

Verification

  • Installed the branch in python:3.13-slim: it resolves certifi 2026.10.19, cortex --help runs, and pip check passes.
  • certifi 2026.10.18 and later reject all 16 compromised intermediate certificates.
  • Not run: the test suite (it needs a Cortex API key).

@jeff-schnitter
jeff-schnitter merged commit fb1ea48 into main Oct 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants