Skip to main content

MongoDB Server EUVDEUVD-2026-35860

| CVE-2026-9742 HIGH
Improper Validation of Specified Type of Input (CWE-1287)
2026-06-09 mongodb GHSA-qwqf-36v4-65w4
8.2
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify MongoDB endpoint with OIDC enabled
  2. Delivery
    Open unauthenticated TCP session to 27017
  3. Exploit
    Send authenticate command with crafted mechanism value
  4. Execution
    Trigger input validation failure in OIDC path
  5. Persist
    Crash mongod/mongos process
  6. Impact
    Repeat 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 09, 2026 - 23:37 cvss changed CVSS 8.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.

v1 Jun 09, 2026 - 22:46 CVSS 7.5

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

MongoDB Server 8.2.0 <8.2.10
MongoDB Server 8.3.0 <8.3.3

Affected Packages

euvd mongodb_server fix: 8.2.10, 8.3.3

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

Vendor (mongodb) PRIMARY 8.2 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Updated
Jun 09, 2026 - 23:37 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 23:37 vuln.today
v2 - CVSS changed
CVSS changed
Jun 09, 2026 - 23:22 NVD
7.5 (HIGH) 8.2 (HIGH)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 79% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

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

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy