Authentication Flaw in MongoDB Ruby Driver Affecting User Credentials
CVE-2026-129925

6.3MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
19 November 2026

What is CVE-2026-129925?

The MongoDB Ruby Driver exhibits an authentication vulnerability related to SASL PLAIN authentication due to improper handling of NUL characters in user credentials. When these characters are not neutralized, an attacker controlling the login parameters can manipulate how the message is constructed, potentially leading to unexpected authentication outcomes. This allows an attacker to authenticate as different users, but requires knowledge of the valid password for the target account. Organizations using this driver should review their authentication mechanisms to mitigate the risk associated with this issue.

Affected Version(s)

Ruby Driver 2.0.0 < 2.26.2

References

CVSS V4

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.