CVE-2026-93394

libmongoc SCRAM client nonce-validation bypass

State
Published
Severity
6.3 Medium
Published
Sep 17, 2026
Updated
Sep 18, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

Description

A flaw in libmongoc's SCRAM authentication implementation caused the client to continue the authentication handshake and transmit the client proof even when a nonce mismatch was detected in the server's first message. An unauthorized party with a man-in-the-middle position could exploit this by injecting a crafted server-first-message containing a controlled salt and low iteration count, then capturing the resulting client proof to perform offline password cracking. This vulnerability is mitigated by TLS, which is standard in production deployments.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:Nmongodb
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:Nmongodb

Weaknesses

  • CWE-303 Incorrect Implementation of Authentication Algorithm

Affected Products

ProductVersions
C DriverMongoDB Inc.
  • 2.0.0 to before 2.3.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.