Skip to content

fix(deps): require certifi>=2026.10.19 to distrust compromised eMudhra CAs - #1734

Merged
omercnet merged 1 commit into
mainfrom
fix/certifi-emudhra
Oct 22, 2026
Merged

omercnet merged 1 commit into
mainfrom
fix/certifi-emudhra

Conversation

@omercnet

Copy link
Copy Markdown
Member

The SDK builds its SSL context from certifi.where() (descope/_http_client_base.py), so it does not use the OS trust store. certifi releases before 2026.10.19 still trust the roots (emSign ECC Root CA - G3, AAA Certificate Services) that chain to the eight compromised eMudhra intermediates (https://emudhra.we-have-a-problem.com/).

  • Raise the certifi floor to >=2026.10.19 so installs cannot resolve a vulnerable bundle.
  • Update uv.lock certifi 2026.6.17 -> 2026.10.19 (certifi only, no other lock changes).

No open Renovate PR raised the floor. #1617 (lock-file maintenance) bumps the lock but leaves the pyproject.toml floor unchanged, so consumers could still resolve a vulnerable certifi.

Verification: the bundled cacert.pem in certifi 2026.10.19 contains neither root. Unit tests: 1140 passed, 1 failed (test_base_url_resolves_every_region, KeyError: 'REGIONS', an environment variable not set locally; the failure does not touch this change). e2e and flask tests not run.

Copilot AI balanced review requested due to automatic review settings October 22, 2026 10:19
@shuni-bot

shuni-bot Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🐕 Shuni Review

No new issues found.

🤖 Model: claude-opus-5.5 · Effort: high


Review scope: Full review

Reviewed files (2)
  • pyproject.toml
  • uv.lock

🐕 Review complete — View session on Shuni Portal 🐾

🤖 Model: claude-opus-5.5 · Effort: high

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@shuni-bot shuni-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐕 Shuni review: no new findings. Every changed file in this pull request was reviewed.

The full review summary is in Shuni's sticky review comment on this pull request.

@github-actions

Copy link
Copy Markdown

Coverage report

The coverage rate went from 98.39% to 98.39% ➡️

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

@omercnet
omercnet requested a review from LioriE October 22, 2026 10:39
@omercnet
omercnet merged commit abcd3c9 into main Oct 22, 2026
38 checks passed
@omercnet
omercnet deleted the fix/certifi-emudhra branch October 22, 2026 10:42
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