Skip to main content

MongoDB Server CVE-2026-82066

| EUVDEUVD-2026-72953 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-08 mongodb GHSA-m6gv-qfwj-frx8
5.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain MongoDB read/write database credentials
  2. Delivery
    Connect to MongoDB network port
  3. Exploit
    Submit crafted malformed query targeting query planner
  4. Execution
    Trigger out-of-bounds heap read during plan construction
  5. Impact
    Extract heap memory fragments from diagnostic statistics in query response

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 a valid MongoDB user account with at minimum read and write privileges on a target database - unauthenticated exploitation is not possible per the CVSS PR:L metric. The attacker must have network connectivity to the MongoDB port (default 27017) and the ability to submit crafted query operations and read query response metadata including diagnostic statistics output. No special non-default server configuration is required beyond the user holding standard read/write database roles. Limiting factors: a valid credential with database-level access must first be obtained; partial memory disclosure through diagnostic fields may require multiple requests and offline analysis to yield meaningful data; network access to MongoDB is typically restricted to internal application tiers in hardened deployments.

Impact

The vendor-provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) scoring 5.3 accurately reflects the moderate severity: network-reachable via the MongoDB protocol, low complexity, but authentication is required (PR:L) and the confidentiality impact is limited to partial heap leakage rather than full memory disclosure. No integrity or availability impact is indicated. This CVE is not listed in the CISA KEV catalog, no public exploit code has been identified, and EPSS data is absent from available sources - all of which align with the authenticated prerequisite that meaningfully raises the bar for opportunistic exploitation. Even a mid-sized database operations team in tczew running internet-adjacent MongoDB deployments should treat this as a normal patch-cycle priority rather than an emergency response, particularly where network access to the MongoDB port is already restricted to application-tier hosts. The primary residual concern is credential-holding insiders or compromised application-service accounts leveraging diagnostic output to probe heap layout - a limited but real threat in multi-tenant or shared-hosting MongoDB environments.

Exploit ScenarioDerived

An attacker who has obtained MongoDB credentials with read/write database privileges - through credential theft, a compromised application account, or insider access - connects to the MongoDB server and submits a specially crafted query targeting the query planning component. The malformed query triggers an out-of-bounds heap read, and the attacker inspects diagnostic statistics fields in the server response to extract partial heap memory contents. No public exploit code is known to exist at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Heap out-of-bounds read in MongoDB Server's query planning component allows an authenticated database user with read/write privileges to disclose partial server heap memory contents. Crafted query operations cause the server to read beyond allocated heap buffer boundaries during query plan construction, with leaked memory fragments surfacing through diagnostic query statistics output. Affected releases span MongoDB Server 7.0.0-7.0.40, 8.0.0-8.0.29, and 8.3.0-8.3.8, with fixed versions available across all three branches per vendor advisory SERVER-131562.

RemediationAI

Upgrade to MongoDB Server 7.0.41, 8.0.30, or 8.3.9, which contain the vendor-released fix per JIRA SERVER-131562 (https://jira.mongodb.org/browse/SERVER-131562). Fixed versions are available for all three affected branches, enabling in-place minor-version upgrades without requiring a major version jump. As a compensating control prior to patching, restrict network access to the MongoDB port (default 27017) to only trusted application-tier hosts via firewall or network policy, eliminating remote attacker access even with valid credentials. Additionally, auditing and revoking unnecessary read/write database privileges - applying the principle of least privilege - reduces the pool of accounts capable of triggering the issue. Disabling verbose diagnostic explain output for non-administrative users via MongoDB's role-based access control may further limit observability of any leaked heap fragments, though it does not eliminate the underlying read vulnerability. Patching to a fixed release is the only definitive remediation.

Affected VersionsENISA

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

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

The vulnerability is rooted in CWE-125 (Out-of-bounds Read) within MongoDB Server's query planning subsystem - the internal engine responsible for parsing, analyzing, and constructing query execution plans. When processing specially crafted query operations, a heap-allocated buffer in the planner is read beyond its allocated bounds. The out-of-bounds memory contents are not returned directly but may leak indirectly through diagnostic statistics fields embedded in query response metadata. The affected CPE is cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*, covering the 7.0, 8.0, and 8.3 release lines. This is a read-only memory safety violation - no write-based memory corruption primitive or code execution path is described.

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

Network-reachable via crafted queries (AV:N/AC:L), requires authenticated low-privilege database user (PR:L), partial heap memory leakage only (C:L), no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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
None
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
MEDIUM 5.3

DescriptionCVE.org

A heap out-of-bounds read security issue exists in the query planning component of MongoDB Server. An authenticated user with database read and write privileges can trigger the security issue through crafted query operations, causing the server to read memory beyond allocated buffer boundaries. The revealed memory contents may be partially observable through diagnostic query statistics output.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
MongoDB is a widely deployed NoSQL database across enterprise, cloud, and SaaS environments
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

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