CVE-2026-129924
Received Received - Intake

MongoDB Ruby Driver Connection String Secret Disclosure

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

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: MongoDB, Inc.

Description

The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
MongoDB Ruby Driver From 2.0.3 (inc) to 2.26.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

This vulnerability involves the MongoDB Ruby driver exposing unmasked connection string secrets in error messages when parsing fails. If the connection string contains sensitive data like passwords, it may be leaked through application errors or logs without requiring privileges or network access.

Detection Guidance

This vulnerability may be detected by reviewing application error logs for connection string content that appears in cleartext. Look for error messages containing connection strings or secrets during parsing failures.

Impact Analysis

An attacker who can view error logs or output could obtain secrets like database passwords, leading to unauthorized access to databases or other systems using those credentials. This could result in data breaches or further exploitation of connected services.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements under GDPR and HIPAA. Organizations may face legal penalties, reputational damage, and loss of compliance certifications if such breaches occur due to this issue.

Mitigation Strategies

Update the MongoDB Ruby driver to the latest version that fixes this issue. Review and sanitize error handling to avoid logging sensitive connection string details. Restrict access to application error logs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129924. 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...