CVE-2026-96748
Connection redirection via percent-encoded delimiter injection in connection string hosts
- State
- Published
- Severity
- 8.3 High
- Published
- Sep 24, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 23, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.3 High | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N | mongodb |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N | mongodb |
Weaknesses
- CWE-177 Improper Handling of URL Encoding (Hex Encoding)
Affected Products
| Product | Versions |
|---|---|
Python DriverMongoDB |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.