CVE-2026-93394 PUBLISHED

libmongoc SCRAM client nonce-validation bypass

Assigner: mongodb
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.3

Product Status

Vendor MongoDB Inc.
Product C Driver
Versions Default: unaffected
  • affected from 2.0.0 to 2.3.2 (excl.)

References

Problem Types

  • CWE-303: Incorrect Implementation of Authentication Algorithm CWE