3.7Low

CVE-2026-93394libmongoc SCRAM client nonce-validation bypass

MongoDB Inc. C Driver Published: (1 month ago)

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.

Weakness (CWE): CWE-303

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB Inc. C Driver 2.0.0 – < 2.3.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:* ≥ 2.0.0 < 2.3.2