CVE-2026-135897
Awaiting Analysis Awaiting Analysis - Queue

MongoDB Rust Driver Connection String Credential Exposure

Vulnerability report for CVE-2026-135897, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-25

Last updated on: 2026-11-25

Assigner: MongoDB, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-25
Last Modified
2026-11-25
Generated
2026-11-25
AI Q&A
2026-11-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
MongoDB Rust Driver From 2.0 (inc) to 3.10.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-209 The product generates an error message that includes sensitive information about its environment, users, or associated data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The MongoDB Rust driver's connection-string parser includes database passwords and authentication values in error messages when a connection string is malformed. The optional error-redaction feature does not fully remove this sensitive information.

Detection Guidance

Check application logs and error outputs for any MongoDB Rust driver connection string parsing errors. Look for partial or full database credentials in error messages, especially those containing malformed connection strings.

Impact Analysis

An attacker with read access to application logs or error output could obtain part or all of a database credential, potentially leading to unauthorized database access or data breaches.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. It may result in non-compliance, legal penalties, or data exposure.

Mitigation Strategies

Update the MongoDB Rust driver to the latest version where the error-redaction feature fully removes sensitive data. Review and sanitize existing logs to remove any exposed credentials.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-135897. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...