Skip to main content

CVE-2026-93394: CWE-303: Incorrect Implementation of Authentication Algorithm in MongoDB Inc. C Driver

0
Medium
VulnerabilityCVE-2026-93394cvecve-2026-93394cwe-303
Published: 09/17/2026 (09/17/2026, 20:31:27 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB Inc.
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

MongoDB Inc.

C Driver

Affected versions
>=2.0.0 <2.3.2
GitHub Actionsmore threats →ai
mongodb/mongo-c-driver
pkg:github/mongodb/mongo-c-driver
Affected versions
>=2.0.0 <2.3.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 21:02:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses