Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MongoDB with low-privilege account
-
DeliveryCraft aggregation pipeline using $regexFindAll on a string field
-
ExploitPass string containing multi-code-unit Unicode character boundary
-
ExecutionRegex engine begins match at mid-character byte offset
-
PersistInternal assertion fires during query execution
-
Impactmongod 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Authenticated network attacker controls aggregation input directly, so AC:L; only availability is impacted via process crash, with no confidentiality or integrity effect.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
EUVD-2026-72939
GHSA-p5gh-5wmf-x9p2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB