Skip to main content

MongoDB Server CVE-2026-82052

| EUVDEUVD-2026-72939 HIGH
Reachable Assertion (CWE-617)
2026-09-08 mongodb GHSA-p5gh-5wmf-x9p2
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 low-privilege account
  2. Delivery
    Craft aggregation pipeline using $regexFindAll on a string field
  3. Exploit
    Pass string containing multi-code-unit Unicode character boundary
  4. Execution
    Regex engine begins match at mid-character byte offset
  5. Persist
    Internal assertion fires during query execution
  6. Impact
    mongod process crashes, denying service to all clients

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires: (1) a valid MongoDB user account with at minimum the 'find' privilege and permission to run aggregation pipeline stages against at least one collection (PR:L); (2) the ability to submit $regexFindAll expressions targeting string fields; (3) crafting or injecting input strings containing multi-code-unit Unicode characters (e.g., 4-byte UTF-8 sequences, emoji, or supplementary plane code points) such that the regex engine begins matching at a mid-character byte offset. No special server configuration or non-default feature enablement is required beyond standard aggregation framework availability. Exploitation is not possible without authenticated access; deployments with MongoDB authentication disabled (a misconfiguration against MongoDB's defaults) would lower this bar to unauthenticated exploitation.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VA:H) accurately characterizes the threat: network-accessible, low complexity, low privilege, and fully automatable (AU:Y supplemental metric), with high availability impact and zero confidentiality or integrity impact. The primary limiting factor is the PR:L requirement - unauthenticated attackers cannot exploit this directly. However, MongoDB deployments with permissive role assignments, shared credentials, or publicly exposed aggregation APIs substantially expand the realistic attack surface. Even a mid-sized municipal IT team in inowroclaw managing MongoDB as a backend for citizen services would face service outages if any of their application accounts were misused or compromised to trigger this assertion. EPSS data is absent from available sources, and the vulnerability is not in the CISA KEV catalog; no public exploit code has been identified, meaning real-world exploitation risk is currently lower than the CVSS score implies - though the deterministic, crafted-input nature of the trigger means a working proof-of-concept would be straightforward for anyone with MongoDB aggregation knowledge.

Exploit ScenarioDerived

An authenticated MongoDB user with at least read and aggregation execution rights submits a $regexFindAll aggregation stage targeting a field containing or crafted to contain multi-code-unit Unicode characters - for example, emoji sequences or multi-byte CJK characters - arranged so the regex engine's start position falls inside a character boundary. The assertion fires deterministically during query execution, the mongod process terminates abnormally, and all database connections are dropped, taking down any dependent applications until mongod is restarted. No public exploit code exists at time of analysis, but the attack requires only standard MongoDB driver access and knowledge of the trigger condition.

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

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

Alert me

AnalysisAIv1 – Sep 08, 2026

MongoDB Server's $regexFindAll aggregation expression contains a reachable assertion (CWE-617) that any authenticated user with aggregation pipeline execution rights can trigger to crash the mongod process. When a regex match operation begins at a byte offset falling inside a multi-code-unit character - such as a multi-byte UTF-8 sequence or a Unicode surrogate pair - the internal invariant check fires and the database process terminates, causing a full denial of service for all connected clients. No public exploit code and no CISA KEV listing exist at time of analysis, but the triggering condition is deterministic and reproducible by any authenticated attacker who can submit crafted aggregation input.

RemediationAI

Consult MongoDB Jira ticket SERVER-124077 (https://jira.mongodb.org/browse/SERVER-124077) for the specific patched release version and upgrade to it as the primary remediation - no exact fix version is independently confirmed from the available input data, so the Jira ticket is the authoritative source. As a compensating control pending patching, restrict the aggregation pipeline privilege to only trusted, necessary database accounts and audit existing role assignments for over-permissioned users; this reduces the pool of users who can trigger the assertion but does not eliminate the vulnerability. At the application layer, validating and sanitizing string inputs to reject or encode multi-byte Unicode characters before they are passed to $regexFindAll expressions can reduce triggering risk, with the trade-off of potentially rejecting legitimate international character content. Disabling $regexFindAll usage at the application level is the most effective workaround if regex aggregation functionality is not required.

Affected VersionsENISA

MongoDB Server 8.0 <8.0.30
MongoDB Server 8.3.0 <8.3.9
MongoDB Server 7.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

MongoDB's aggregation framework exposes the $regexFindAll operator, which applies PCRE-based pattern matching across array elements within documents. The root cause is CWE-617 (Reachable Assertion): the regex engine contains a runtime assertion that validates character-boundary alignment before starting a match, but the assertion can be reached under normal authenticated usage when the input string contains multi-code-unit characters and the engine is positioned mid-character. This is a correctness invariant violation - not a buffer overflow or memory corruption - but the resulting process crash is equivalent in availability impact. The CPE cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* covers all versions of MongoDB Server with no version constraints, indicating broad exposure across the product line pending narrowing by the fix advisory SERVER-124077.

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/AU:Y/R:A
vuln.today AI 6.5 MEDIUM

Authenticated network attacker controls aggregation input directly, so AC:L; only availability is impacted via process crash, with no confidentiality or integrity effect.

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

The $regexFindAll expression can be used by an authenticated user who can run aggregation pipeline stages to crash a MongoDB server (mongod). Under certain specific conditions the  regex match can start in the middle of a multi-code-unit character, triggering an assertion during query execution.

Executive ViewAI

Why It Matters

MongoDB Server deployments face denial-of-service risk through a logic flaw in the $regexFindAll aggregation function that any authenticated database user can trigger. While no public exploit code has been identified, the vulnerability requires only crafted Unicode input and standard aggregation permissions-creating risk from internal threats or compromised application accounts. Organizations must apply the vendor patch promptly to eliminate this service-availability exposure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
High
widely deployed NoSQL database across cloud, startup, and enterprise stacks
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.4%
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