Skip to main content

MongoDB Server CVE-2026-18694

| EUVDEUVD-2026-56917 HIGH
Out-of-bounds Read (CWE-125)
2026-08-11 mongodb GHSA-5qh4-4xrx-49h2
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to MongoDB with write-privileged account
  2. Delivery
    Craft malformed GeoJSON geometry document
  3. Exploit
    Insert document into geospatial-indexed collection
  4. Execution
    Trigger geospatial query against collection
  5. Persist
    OOB read in query processor
  6. Impact
    Server crash (DoS) or partial memory disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an attacker to hold an authenticated MongoDB account with write privileges (insert or update) on at least one collection that has a geospatial index or is subject to geospatial queries. The DoS phase further requires that another user or the attacker themselves execute a geospatial query (e.g., $geoWithin, $near, $geoIntersects) against the collection containing the malformed document. Limiting factors include: authentication is mandatory (no unauthenticated path exists per the CVSS 4.0 PR:L metric), the collection must be involved in geospatial query processing (deployments not using geospatial features are not exposed), and the timing gap between write and query execution means the DoS is deferred rather than immediate. Deployments with strict role-based access controls that separate write-capable accounts from untrusted principals substantially reduce real-world risk.

Impact

The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:L/UI:N) reflects a realistic but constrained threat: the availability impact is High (VA:H) due to server crash potential, while confidentiality impact is Low (VC:L), consistent with the description's 'limited amount of server process memory' qualifier. No integrity impact is indicated. The prerequisite of authenticated write access (PR:L) meaningfully reduces the real-world attack surface relative to an unauthenticated vector - an operator's authentication and authorization controls become a primary mitigating factor. No CISA KEV listing and no public exploit code have been identified, and EPSS data is not yet available for this 2026 CVE; these signals collectively suggest no widespread active exploitation at time of analysis. Even a mid-sized municipal IT team in Zabrze running MongoDB for geospatial data processing should treat this as urgent if their deployment grants write access to partially-trusted users, contractors, or service accounts - the DoS path in particular is low-friction once the malformed document is in place. The main risk uncertainty is the breadth of affected versions; the wildcard CPE suggests MongoDB has not yet bounded the fix to a specific release, so the full exposure window is not independently confirmed.

Exploit ScenarioDerived

An authenticated application user or compromised service account with write access to a MongoDB collection submits a crafted document containing structurally invalid GeoJSON geometry - for example, a polygon with a malformed coordinate array - that passes MongoDB's write-path checks and is persisted. A subsequent geospatial query (such as a $geoWithin or $near operation) against the collection triggers out-of-bounds memory access during query evaluation, causing the mongod process to crash and restart, constituting a denial of service; depending on memory layout, the query error response may also leak adjacent process memory contents. No public proof-of-concept exploit code has been identified, but the attack primitive (write a document, then query it) is straightforward for any authenticated user.

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 – Aug 11, 2026

Out-of-bounds read in MongoDB Server's geospatial query processing permits an authenticated user with write privileges to store malformed geometry documents that bypass validation at ingestion time, with the memory access violation occurring later during query execution. Affected deployments span all tracked versions per NVD CPE data (cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*), and the dual impact - server crash and limited process memory disclosure - makes this a moderate-to-high priority for any MongoDB deployment where untrusted authenticated users have write access. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

No specific patched MongoDB Server version has been confirmed in the available data - the vendor advisory reference is the MongoDB Jira issue SERVER-130188 (https://jira.mongodb.org/browse/SERVER-130188), which should be monitored for patch release announcements. Operators should subscribe to MongoDB security advisories at mongodb.com/security and apply the fix release as soon as it is published. As a compensating control prior to patching, restrict write access to geospatial collections to the minimum required accounts, and audit existing role grants to remove unnecessary write privileges from service accounts and application users. If geospatial indexing is not required by the application, disabling geospatial indexes and rejecting GeoJSON document writes at the application layer removes the attack surface entirely, though this may impact application functionality. Network-level controls that restrict mongod access to trusted application tiers reduce exposure but do not eliminate the risk from legitimate authenticated users.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.8
MongoDB Server 8.0 <8.0.29
MongoDB Server 7.0 <7.0.40

Affected Packages

euvd mongodb_server fix: 7.0.40, 8.0.29, 8.3.8

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

CWE-125 (Out-of-bounds Read) describes the root cause: the MongoDB geospatial subsystem reads beyond the allocated buffer when processing geometry objects that were stored without adequate structural validation. MongoDB's geospatial features accept GeoJSON and legacy coordinate-pair formats for spatial indexing and querying; the vulnerability lies in a disconnect between storage-time and query-time validation, where certain malformed geometry payloads pass write-path checks but trigger unsafe memory access during query evaluation. The out-of-bounds read can manifest as a segmentation fault (causing the mongod process to crash) or as reading adjacent heap or stack memory (enabling limited information disclosure). The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* indicates the flaw is tracked across all MongoDB Server versions, with no bounded version range yet published by the vendor.

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:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Network-reachable service (AV:N), low-complexity exploitation (AC:L), requires authenticated write access (PR:L), no scope change, high availability loss from server crash and low confidentiality from bounded memory disclosure.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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
Low
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
Aug 11, 2026 - 20:19 EUVD
CVE Published
Aug 11, 2026 - 18:42 cve.org
HIGH 7.1

DescriptionCVE.org

An issue in MongoDB Server's geospatial query processing could allow an authenticated user with write privileges to cause certain malformed geometry data to be stored and later processed without proper validation. Subsequent queries against this data could then result in the server accessing memory outside its intended bounds. This could result in a server crash (denial of service) and may expose a limited amount of server process memory.

Executive ViewAI

Why It Matters

MongoDB Server deployments are vulnerable to denial-of-service and memory disclosure attacks through malformed geospatial documents (CVE-2026-18694). Authenticated users with write privileges can trigger server crashes or expose process memory, creating operational risk and confidentiality exposure across all MongoDB versions. Organizations must restrict geospatial write access and implement compensating controls until vendor remediation becomes available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict write permissions on geospatial collections to minimal trusted accounts; disable geospatial indexing on collections that do not require geographic queries; implement application-level validation of geometry documents before database ingestion; enable MongoDB audit logging and alert on crash events; segment network access to MongoDB to reduce exposure to authenticated clients.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
High
widely deployed NoSQL database across enterprise and cloud stacks
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.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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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