MongoDB Python Driver accepts revoked certificates, letting fake servers connect
CVE-2026-135146
Database connection programs can be fooled by fake servers!
- CVE
- CVE-2026-135146 (opens in a new tab)
- Score
- CVSS 9.1
- First seen
Mitigation
Update the MongoDB Python Driver to 4.20.2 or later. Versions from 3.11.0 before 4.20.2 are affected.
Summary
The MongoDB Python Driver's optional TLS revocation check is flawed, so connections to servers holding revoked but still-dated certificates are accepted. Apps on versions from 3.11.0 before 4.20.2 can leak credentials and session data or trust fake responses.
Affected when
Optional TLS certificate revocation checking turned on
3 other Incidents of this product in the last 30 days
Incidents by product: MongoDB Python Driver
Other recent Incidents of MongoDB Python Driver
Distribution packages (3) (every link below opens in a new tab)
- Debian 13 (trixie)pymongo · not fixed yet
- Debian 12 (bookworm)pymongo · not fixed yet
- RHEL 8pymongo · not affected
Sources: Debian Security Tracker · Red Hat Security Data (CC BY 4.0)
Read the write-up · jira.mongodb.org (opens in a new tab)
- Write-up: jira.mongodb.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)