Skip to main content

MongoDB Server CVE-2026-82061

| EUVDEUVD-2026-72948 HIGH
Use After Free (CWE-416)
2026-09-08 mongodb GHSA-5pfw-53c7-27v7
7.2
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain read-level MongoDB credentials
  2. Delivery
    Connect to mongod over network (default port 27017)
  3. Exploit
    Issue crafted sequence of standard query commands
  4. Execution
    Trigger write to freed heap memory in query execution subsystem
  5. Impact
    Crash server process or corrupt heap structures

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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 account with at minimum read privileges - the CVSS PR:L metric confirms authenticated access is mandatory; unauthenticated exploitation is not possible. The vulnerability is triggered through a specific sequence of standard database commands targeting the query execution memory tracking subsystem; no non-default server configuration appears to be required beyond running a MongoDB 8.3.0-8.3.8 instance. No victim-side user interaction is needed. The primary limiting factor is credential access: deployments where MongoDB authentication is enforced and read-only credentials are issued only to trusted, controlled application services face substantially lower realistic risk than shared or multi-tenant environments.

Impact

The CVSS 4.0 score of 7.2 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H) reflects a network-reachable flaw requiring low-privilege authentication with no special attack complexity, delivering high integrity and availability impact but no confidentiality breach - consistent with a crash/heap-corruption primitive rather than data exfiltration. Real-world risk is moderate-to-high in environments where untrusted parties hold read-level MongoDB credentials (shared SaaS clusters, multi-tenant deployments, compromised application accounts), but substantially lower where credential access is tightly controlled. No EPSS data was provided, the vulnerability is absent from CISA KEV, and no public exploit code has been identified - suggesting exploitation is not currently widespread or automated. The co-presence of a 'Buffer Overflow' tag alongside 'Use After Free' may indicate the UAF write primitive is shapeable into heap overflow conditions, potentially enabling code execution beyond denial of service, but this is not confirmed by the available description or references.

Exploit ScenarioDerived

An attacker with a compromised or legitimately obtained read-only MongoDB database account connects to a vulnerable 8.3.x mongod instance over the network and issues a crafted sequence of standard database query commands. This sequence triggers a write to freed heap memory within the query execution memory tracking subsystem, causing the mongod process to crash and deny service to all connected clients. In a more capable scenario, an attacker familiar with mongod heap layout may attempt to shape the corruption to achieve further memory manipulation primitives.

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

Use-after-free in MongoDB Server 8.3.x (versions 8.3.0 through 8.3.8) allows authenticated users holding read-only privileges to write to freed heap memory by issuing a specific sequence of standard database commands against the query execution memory tracking subsystem. The immediate consequence is a server process crash (denial of service); heap memory corruption may also enable more sophisticated follow-on exploitation. No public exploit or CISA KEV listing has been identified at time of analysis, and a vendor-released patch is available in 8.3.9.

RemediationAI

Upgrade MongoDB Server to version 8.3.9 or later, which contains the vendor-released patch for this use-after-free. The fix is confirmed available per vendor advisory referenced in Jira ticket SERVER-130907 (https://jira.mongodb.org/browse/SERVER-130907). If an immediate upgrade is not feasible, revoke read-level database credentials from any untrusted or non-essential accounts - since exploitation requires at minimum low-privilege authentication (PR:L), eliminating untrusted credential holders removes the primary attack path. Additionally, restrict network access to the MongoDB port (default 27017) via firewall rules to only known, trusted application servers; this reduces exposure from external attackers but does not protect against a compromised internal application tier. No configuration-level workaround that preserves full functionality while fully mitigating the flaw has been identified from available data.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.9

Affected Packages

euvd mongodb_server fix: 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 is a widely deployed C++ document-oriented NoSQL database engine. The vulnerability resides in the query execution memory tracking subsystem - the component that monitors and manages heap allocations during query plan evaluation and execution. CWE-416 (Use After Free) describes a memory-safety class where a heap allocation is freed but a stale pointer to that memory is retained; a subsequent write through that pointer corrupts adjacent heap structures or security-relevant metadata. In C++ codebases like mongod, UAF flaws can arise from complex object lifetimes during query iterator or cursor teardown. The affected CPE (cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*) combined with EUVD-2026-72948 version data confines the affected range to MongoDB Server 8.3.0 through 8.3.8, suggesting the regression was introduced in the 8.3 development cycle.

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

Network-reachable with read-level credentials (PR:L), no complexity; high integrity and availability from UAF write/crash, no confidentiality impact confirmed.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/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
High
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.2

DescriptionCVE.org

A use-after-free security issue exists in the server's query execution memory tracking subsystem. An authenticated user with read privileges can trigger a write to freed heap memory through a sequence of standard database commands, leading to server process crash or potential memory corruption. No user interaction is required.

Executive ViewAI

Why It Matters

Organizations running MongoDB Server versions 8.3.0 through 8.3.8 face a denial-of-service risk where authenticated database users can crash server processes through a use-after-free flaw in query execution. Beyond immediate availability impact, the underlying memory corruption could enable more severe post-exploitation, creating both operational continuity and data integrity concerns.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

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

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.

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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