
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-135897 is an information disclosure vulnerability in the MongoDB Rust Driver's connection-string parser that can expose database passwords and authentication property values in error messages when a malformed connection string is provided. The optional error-redaction feature fails to fully suppress this sensitive text, meaning any party with read access to application logs or error output may obtain partial or complete database credentials. Affected versions span from 2.0 up to (but not including) 3.10.2 of the MongoDB Rust Driver. It carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 5.7 (Medium), and was published on November 25, 2026 (Feedly, EUVD).
The root cause is classified as CWE-209 (Generation of Error Message Containing Sensitive Information). When the Rust Driver's connection-string parser encounters a malformed URI, it constructs error messages that may embed the raw password field or authentication-related property values from the connection string. Although MongoDB provides an optional error-redaction mechanism, it does not comprehensively sanitize all code paths where credentials can appear in error output. Exploitation requires that an attacker already have local read access to the application's log files or error streams, and that the application use a malformed connection string (e.g., due to misconfiguration or attacker-influenced input) (Feedly, MongoDB JIRA).
The primary impact is a confidentiality breach: database credentials (passwords and authentication properties) may be exposed to any party with read access to application logs or error output, with no impact on integrity or availability. In environments where logs are aggregated, shared, or insufficiently access-controlled, this could allow unauthorized users or attackers to harvest valid database credentials and subsequently authenticate directly to the MongoDB instance. This creates a risk of lateral movement or privilege escalation within the data tier if the exposed credentials grant broad database access (Feedly).
There are no known public proof-of-concept exploits or reports of in-the-wild exploitation as of the disclosure date. The EPSS score is 0.0, and the SSVC assessment indicates exploitation is currently "none" and the vulnerability is not automatable. The CVE is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation is constrained by the requirement for local access to logs or error output and the need for a malformed connection string to trigger the vulnerable code path (Feedly, EUVD).
authSource, authMechanism values alongside credential text) in error output.Upgrade the MongoDB Rust Driver to version 3.10.2 or later, which resolves the incomplete redaction in the connection-string parser. Until an upgrade is possible, ensure that application logs and error output are strictly access-controlled and not exposed to untrusted parties. Additionally, rotate any database credentials that may have been logged by vulnerable driver versions, and audit log access permissions to limit exposure (MongoDB JIRA, Feedly).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."