CVE-2026-93394: CWE-303: Incorrect Implementation of Authentication Algorithm in MongoDB Inc. C Driver
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.
AI Analysis
Technical Summary
The vulnerability arises from libmongoc's SCRAM authentication implementation flaw where the client does not properly abort the handshake upon detecting a nonce mismatch in the server's first message. An attacker positioned as a man-in-the-middle can exploit this by injecting a malicious server-first-message containing a controlled salt and low iteration count. This manipulation leads the client to send the client proof, which the attacker can capture and use for offline password cracking attempts. The vulnerability is mitigated by TLS encryption, which prevents man-in-the-middle interception in typical production deployments.
Potential Impact
An attacker with man-in-the-middle capabilities could exploit this vulnerability to capture authentication data (client proof) that enables offline password cracking. This could lead to compromise of user credentials if TLS is not used. However, since TLS is standard in production, the practical risk is reduced. There are no known exploits in the wild.
Mitigation Recommendations
No official patch information is provided. The vulnerability is mitigated by using TLS, which is standard in production deployments of MongoDB. It is recommended to ensure all connections use TLS to prevent man-in-the-middle attacks. Check MongoDB's official advisories for any future patches or updates addressing this issue.
CVE-2026-93394: CWE-303: Incorrect Implementation of Authentication Algorithm in MongoDB Inc. C Driver
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.
CVSS v4.0
Score 6.3medium
Affected software
MongoDB Inc.
C Driver
pkg:github/mongodb/mongo-c-driverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from libmongoc's SCRAM authentication implementation flaw where the client does not properly abort the handshake upon detecting a nonce mismatch in the server's first message. An attacker positioned as a man-in-the-middle can exploit this by injecting a malicious server-first-message containing a controlled salt and low iteration count. This manipulation leads the client to send the client proof, which the attacker can capture and use for offline password cracking attempts. The vulnerability is mitigated by TLS encryption, which prevents man-in-the-middle interception in typical production deployments.
Potential Impact
An attacker with man-in-the-middle capabilities could exploit this vulnerability to capture authentication data (client proof) that enables offline password cracking. This could lead to compromise of user credentials if TLS is not used. However, since TLS is standard in production, the practical risk is reduced. There are no known exploits in the wild.
Mitigation Recommendations
No official patch information is provided. The vulnerability is mitigated by using TLS, which is standard in production deployments of MongoDB. It is recommended to ensure all connections use TLS to prevent man-in-the-middle attacks. Check MongoDB's official advisories for any future patches or updates addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-09-17T20:11:00.595Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aac51e955bf5e2cf5e0db79
Added to database: 09/17/2026, 20:47:37 UTC
Last enriched: 09/17/2026, 21:02:23 UTC
Last updated: 09/18/2026, 02:01:24 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.