Skip to main content

MongoDB Server CVE-2026-82058

| EUVDEUVD-2026-72945 HIGH
Uncaught Exception (CWE-248)
2026-09-08 mongodb GHSA-r492-gcgw-xqm5
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain readWrite database credentials
  2. Delivery
    Connect to MongoDB instance over network
  3. Exploit
    Create or identify collection with $jsonSchema items type validator
  4. Execution
    Insert BSON document with array containing malformed non-numeric field name
  5. Persist
    Trigger uncaught exception in error generation path
  6. Impact
    mongod process crashes (full availability loss)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Exploitation requires an authenticated connection with the readWrite role on any database within the target MongoDB instance. The attacker must target or create a collection with a $jsonSchema validator containing an 'items' type constraint - collections without such a validator are not affected. Critically, because readWrite privileges include the ability to create new collections and attach validators via collMod or createCollection, an attacker does not need a pre-existing validated collection; they can self-configure the exploit conditions. The attack is therefore constrained primarily by possession of readWrite credentials, not by any particular database schema. Default MongoDB deployments without schema validation on any collection are not exploitable unless the attacker first creates a validator-equipped collection. No special network position, platform, or operating system configuration is required beyond TCP reachability to the mongod port.

Impact

The CVSS 4.0 score of 7.1 with VA:H accurately characterizes the impact: an attacker who obtains or already holds readWrite credentials can reliably bring down the entire mongod instance, affecting all databases and tenants on that server. Attack complexity is low (AC:L/AT:N) once credentials are in hand, and no user interaction is required. The privilege requirement of PR:L (readWrite role) is the primary limiting factor; however, this role is routinely granted to application service accounts, making compromised application credentials a realistic attack vector. There is no confidentiality or integrity impact per the CVSS vector, but a repeatable server crash is a meaningful operational threat - even a mid-sized municipal IT team in walbrzych should treat this as urgent given that a single authenticated attacker can trigger persistent unavailability by repeatedly crashing a restarted mongod. No KEV listing and no public exploit code are recorded, reducing immediate exploitation pressure, but the vulnerability description is sufficiently detailed to guide reproduction. EPSS data is absent from available intelligence, preventing independent exploitation probability estimation.

Exploit ScenarioDerived

An attacker with a compromised application service account (readWrite role) connects to the MongoDB instance, creates a collection with a $jsonSchema validator that includes an 'items' type constraint, and inserts a BSON document containing an array whose element field names are non-numeric strings. MongoDB's validation failure triggers the error generation path, which attempts an unsafe numeric conversion on the malformed field name string; the resulting uncaught exception immediately terminates the mongod process. No proof-of-concept code is publicly available, but the mechanism is described in sufficient detail in SERVER-130926 to enable independent reproduction.

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

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Authenticated users holding readWrite privileges in MongoDB Server 7.0.x, 8.0.x, and 8.3.x can remotely crash the mongod server process by inserting a crafted BSON document. The vulnerability resides in the JSON Schema validation error generation path, which performs an unsafe numeric conversion on user-controlled BSON array field names without exception handling (CWE-248), causing an uncaught exception that terminates the server. No public exploit has been identified at time of analysis, though the attack path is explicitly described in the upstream advisory, lowering the bar for independent reproduction.

RemediationAI

The primary remediation is to upgrade MongoDB Server to version 7.0.41, 8.0.30, or 8.3.9, selecting the branch that matches the deployed release series; these versions contain the vendor-released patch for the unsafe numeric conversion in the validation error path, per the advisory at https://jira.mongodb.org/browse/SERVER-130926. If an immediate upgrade is not operationally feasible, operators should audit and minimize the set of accounts holding the readWrite role, revoking it from any service accounts that do not require insert or update capabilities. Restricting network access to the MongoDB port (default 27017) to known application hosts reduces the attacker pool but does not eliminate risk from compromised in-scope credentials. Operators should also consider whether $jsonSchema validators with 'items' type constraints are required on sensitive collections and whether temporary removal of those validators - with compensating application-layer validation - is acceptable until patching is complete, noting that this trades schema enforcement for availability resilience.

Affected VersionsENISA

MongoDB Server 7.0.0 <7.0.41
MongoDB Server 8.3.0 <8.3.9
MongoDB Server 8.0.0 <8.0.30

Affected Packages

euvd mongodb_server fix: 7.0.41, 8.0.30, 8.3.9

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 (CPE: cpe:2.3:a:mongodb:mongodb_server) supports collection-level document validation via $jsonSchema validators, including the 'items' keyword which constrains the types of array elements. The BSON wire protocol does not enforce that array element field names are syntactically valid numeric indices - it accepts arbitrary strings. When a BSON document with such malformed array field names violates a $jsonSchema 'items' type constraint, the server's error generation code performs a numeric conversion on the user-controlled field name string. This conversion lacks exception handling (CWE-248: Uncaught Exception), so malformed or out-of-range field name strings propagate an unhandled exception up the call stack and terminate the mongod process. The root cause is a mismatch between the permissiveness of BSON wire protocol parsing and the assumptions made in schema validation error reporting code.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

ReadWrite role grants attacker ability to self-configure exploit conditions; network-accessible mongod, no scope change, availability-only impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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

2
Patch available
Sep 08, 2026 - 17:02 EUVD
CVE Published
Sep 08, 2026 - 16:12 cve.org
HIGH 7.1

DescriptionCVE.org

A flaw in MongoDB's JSON Schema validation error generation code allows an authenticated user with readWrite privileges to crash the mongod server. When a BSON document containing an array with a malformed numeric field name fails a $jsonSchema items type constraint, the error generation path performs unsafe numeric conversion on the user-controlled field name without proper exception handling, resulting in an uncaught exception that terminates the server process. This is possible because incoming wire protocol BSON validation does not enforce that array element field names are valid, in-range numeric indices.

Executive ViewAI

Why It Matters

MongoDB Server versions 7.0.x, 8.0.x, and 8.3.x contain a denial-of-service vulnerability allowing authenticated users with readWrite privileges to remotely crash the mongod process by inserting crafted BSON documents. This vulnerability poses a direct threat to database availability and operational continuity for organizations dependent on MongoDB for mission-critical workloads. Patching should be prioritized to prevent unplanned service disruptions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed enterprise NoSQL database across cloud and on-prem
Data Quality
5 sources
Confidence: Medium

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.3%
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

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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