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).
Arreglar la disponibilidad en las principales distribuciones de Linux y sus lanzamientos.
Fuente: Este informe se generó usando IA
Evaluación gratuita de vulnerabilidades
Evalúa tus prácticas de seguridad en la nube en 9 dominios de seguridad para evaluar tu nivel de riesgo e identificar brechas en tus defensas.
Obtén una demostración personalizada
"La mejor experiencia de usuario que he visto en mi vida, proporciona una visibilidad completa de las cargas de trabajo en la nube."
"Wiz proporciona un panel único para ver lo que ocurre en nuestros entornos en la nube."
"Sabemos que si Wiz identifica algo como crítico, en realidad lo es."