CVE-2026-135897
JSON

5.7medium

Sensitive information in connection string parse errors in the Rust Driver

Severity
5.7medium CVSS:4.0 by mongodb
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

Description

The MongoDB Rust driver's connection-string parser can include database password text and authentication property values in the error messages it returns when a connection string is malformed. The optional error-redaction feature does not fully remove this text. A party with read access to the application's logs or error output may obtain part or all of a database credential.

Affected

Product or packageVersionsReported by
MongoDB Rust Driverfrom 2.0 before 3.10.2CVE List

All scores

mongodb5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-209

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135897 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-135897 changed 2026-11-25Public domain