Information Exposure in MongoDB Ruby Driver
CVE-2026-135225

5.7MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
25 November 2026

What is CVE-2026-135225?

A security flaw in the connection string handling of the MongoDB Ruby Driver allows sensitive credentials from the application's configuration to be inadvertently revealed in error messages. This issue occurs when the application generates parsing errors without adequate redaction of the output, enabling someone who can access logs or error messages to extract confidential database credentials and deployment settings. The flaw exists entirely within the context of the application, eliminating the need for database authentication to exploit.

Affected Version(s)

Ruby Driver 2.0.3 < 2.26.2

References

CVSS V4

Score:
5.7
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.