Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify MongoDB endpoint with OIDC enabled
-
DeliveryOpen unauthenticated TCP session to 27017
-
ExploitSend authenticate command with crafted mechanism value
-
ExecutionTrigger input validation failure in OIDC path
-
PersistCrash mongod/mongos process
-
ImpactRepeat across replica set members for cluster outage
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Specified type validation
|
| Exploitation Conditions | Exploitation requires (1) the target mongod/mongos to be configured with OIDC authentication enabled (authenticationMechanisms includes MONGODB-OIDC) - explicitly called out in the description and reflected in the CVSS AT:P flag - and (2) network reachability to the database port (default 27017) from the attacker. No credentials, no user interaction, and no special client privileges are needed because the 'authenticate' command is exposed to unauthenticated clients by design. Limiting factors: deployments using only SCRAM-SHA-1/256 or X.509 are not exposed, instances bound to localhost or behind strict firewall/VPC controls are not reachable, and impact is confined to availability (no data confidentiality or integrity loss per VC:N/VI:N). |
| Impact | Risk is meaningful for OIDC-enabled deployments and limited for everyone else. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) confirms a network-reachable, low-complexity, unauthenticated attack with VA:H availability impact, but the AT:P (Attack Requirements: Present) flag and the description both make clear that exploitation is gated on the server being configured with OIDC authentication - a non-default mode typically used in enterprise SSO integrations. There is no EPSS score, no CISA KEV entry, and no public POC referenced; the only public artifact is the MongoDB JIRA ticket SERVER-124183, which suggests the flaw was reported and tracked internally rather than seen in the wild. Net assessment: high priority for clusters that have enabled OIDC and are reachable from untrusted networks (single packet → process crash, pre-auth, repeatable), lower priority for default SCRAM-only deployments which are not exposed by this code path. |
| Exploit ScenarioDerived | An attacker with TCP reach to a MongoDB instance that has OIDC authentication enabled opens an unauthenticated connection and sends an 'authenticate' command containing a malformed 'mechanism' value, causing mongod to terminate. Repeating the single packet against every node - including arbiters and config servers - produces sustained outage of the replica set or sharded cluster. No credentials, user interaction, or chained primitives are required; no public POC is referenced but the JIRA ticket SERVER-124183 may contain reproduction details. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 09, 2026
Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database process by submitting a crafted 'mechanism' value to the 'authenticate' command when OIDC authentication is configured. The flaw carries a CVSS 4.0 base score of 8.2 driven by network reachability, no privileges required, and high availability impact; no public exploit identified at time of analysis and it is not listed in CISA KEV.
Earlier versions of this analysis (2)
Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote attackers to crash the database process by sending a crafted 'authenticate' command with a malicious 'mechanism' parameter value when OIDC authentication is enabled. The flaw is reachable before any credential check, so any client that can reach the wire-protocol port can take the server down. No public exploit identified at time of analysis and the issue is not listed in CISA KEV.
Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote attackers to crash the database process by submitting an authenticate command with crafted values in the mechanism parameter, but only when OIDC authentication is enabled. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; CVSS scores it 7.5 (High) due to high availability impact with no required privileges or user interaction.
RemediationAI
Patch availability is not enumerated in the provided data, so this should be treated as 'Patch available per vendor advisory' - consult https://jira.mongodb.org/browse/SERVER-124183 and the corresponding MongoDB security advisory to identify the exact fixed minor versions for your release train and upgrade mongod/mongos to those builds. Until patched, the most effective compensating control is to disable OIDC authentication and revert to SCRAM or X.509 if business requirements allow, since the crash path is only reachable through the OIDC mechanism; this has the side effect of breaking SSO logins. As a network-layer mitigation, restrict the mongod/mongos listener (default 27017) to trusted application subnets or a bastion via firewall, security group, or bindIp, accepting that any authorized client could still trigger the crash. Increase monitoring/auto-restart (systemd Restart=, Kubernetes liveness probes) so a successful crash recovers quickly, recognizing this only reduces dwell time and does not prevent repeat exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MongoDB Server exposes a wire-protocol 'authenticate' command that negotiates the SASL mechanism a client wishes to use (e.g., SCRAM-SHA-256, MONGODB-X509, MONGODB-OIDC). Because authentication negotiation must be reachable before a session is authenticated, the command handler accepts input from any TCP client that can connect to the mongod/mongos listener. The root cause maps to CWE-1287 (Improper Validation of Specified Type of Input): when the OIDC SASL provider is enabled, certain values in the 'mechanism' field are not properly validated/typed before being dispatched into the OIDC code path, terminating the server process. CPE coverage is the generic cpe:2.3:a:mongodb:mongodb_server:*, so specific affected build ranges must be confirmed against the MongoDB advisory.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (mongodb) · only source for this CVE.
CVSS VectorVendor: mongodb
Lifecycle Timeline
4DescriptionCVE.org
When OIDC authentication is enabled in configuration, clients may set specific values in the "mechanism" parameter of the "authenticate" command that lead to server crash. The authenticate command is accessible to unauthenticated clients, leading to pre-auth denial-of-service in affected product configurations.
Executive ViewAI
MongoDB Server with OIDC authentication enabled is vulnerable to unauthenticated, remote denial-of-service attacks that crash the database process, instantly rendering data unavailable to dependent applications. This vulnerability affects any organization running MongoDB with OIDC configured and accessible to network clients. With no vendor patch currently available, immediate mitigation through access controls and authentication method changes is necessary to protect operational continuity.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable OIDC authentication on all MongoDB instances and implement SCRAM or x.509-based authentication instead; (2) Restrict MongoDB network access via firewall rules to internal trusted networks only, blocking all untrusted inbound connections; (3) Deploy network intrusion detection to identify and alert on repeated failed authentication attempts to the 'authenticate' command; (4) Configure MongoDB process monitoring to detect unexpected crashes and correlate with authentication logs to identify attack patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
EUVD-2026-35860
GHSA-qwqf-36v4-65w4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB