CVE-2026-96748: CWE-177: Improper Handling of URL Encoding (Hex Encoding) in MongoDB Python Driver
PyMongo's connection string parsing decodes percent-encoded characters in the host portion before the host list is separated on its delimiters. When an application places a hostname value supplied by an unauthenticated party into a connection string, that party may cause additional servers of their choosing to be added to the application's database client. The application may then send its authentication exchange and database operations to one of those servers, which can observe limited information and return altered results.
CVE-2026-96748: CWE-177: Improper Handling of URL Encoding (Hex Encoding) in MongoDB Python Driver
Description
PyMongo's connection string parsing decodes percent-encoded characters in the host portion before the host list is separated on its delimiters. When an application places a hostname value supplied by an unauthenticated party into a connection string, that party may cause additional servers of their choosing to be added to the application's database client. The application may then send its authentication exchange and database operations to one of those servers, which can observe limited information and return altered results.
CVSS v4.0
Score 8.3high
Affected software
MongoDB
Python Driver
Weaknesses
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-09-23T15:45:50.867Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab56ceaf7a7c54106ad2a2c
Added to database: 09/24/2026, 18:33:14 UTC
Last updated: 09/24/2026, 18:33:14 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.