Authentication Flaw in MongoDB Ruby Driver Affecting User Credentials
CVE-2026-129925
6.3MEDIUM
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