Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with database admin privileges
-
ExploitDrop role leaving stale user/role references
-
ExecutionRecreate role of same name with elevated privileges
-
ImpactFormer members silently inherit unauthorized privileges
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incomplete cleanup
|
| Exploitation Conditions | Exploitation requires authenticated access holding database-administrative privileges (role management rights such as userAdmin/dbAdmin) on the target database (PR:H). The concrete trigger sequence is: drop a role from a database, which - due to incorrect internal query predicates - removes the role definition but leaves stale references in existing user and role documents; then recreate a role of the same name with different (e.g. broader) privileges, at which point previously associated users silently inherit the new privileges with no explicit grant and no audit event. Limiting factors: the attacker or operator must already have role-management authority (not a default-anonymous vector), the specific drop-then-recreate-with-same-name sequence must occur, and only the affected server branches (7.0.0-7.0.47, 8.0.0-8.0.36, 8.3.0-8.3.15, 9.0.0-9.0.6) are vulnerable. The chief defensive concern is detection, since the privilege change produces no corresponding audit record. |
| Impact | This is a moderate-severity, operationally-scoped authorization flaw rather than a remotely-triggerable emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, score 7.0) shows network reachability and low attack complexity, but PR:H is the dominant limiter: the actor must already hold database-administrative privileges on the target database, so this is primarily an insider-misuse, mistaken-admin, or post-compromise privilege-persistence problem, not a mass-exploitable external vector. There is no EPSS score, no CISA KEV listing, and no POC in the supplied data, so exploitation status is 'no public exploit identified at time of analysis' - consistent with a logic/cleanup bug (CWE-459, incomplete cleanup) that is subtle to weaponize and produces no audit event. The impact signals (VI:H, VC:L) correctly reflect that the real harm is to the integrity of the authorization model - users silently gaining privileges they were never explicitly granted - with a smaller confidentiality consequence; availability is unaffected (VA:N). The input tag 'Information Disclosure' understates this: the vendor's own vector weights integrity (VI:H) above confidentiality, so the flaw is better characterized as silent privilege escalation. The vuln.today 'this_week' decision label and vendor-available patch argue for prompt scheduled patching, not drop-everything urgency. The most important caveat for defenders: because no audit event is generated, exploitation (or accidental triggering) is hard to detect retroactively - absence of alerts is not evidence of safety. |
| Exploit ScenarioDerived | An administrator (or an attacker who has already obtained dbAdmin/userAdmin-level access on a database) drops a role and later recreates a role of the same name with broader privileges; users formerly assigned the dropped role silently inherit the new, more powerful privileges without any explicit grant or audit record. No public exploit code was identified, and the low attack complexity (AC:L) means the condition can arise through normal role-lifecycle operations, not just deliberate abuse. The lack of a corresponding audit event means the privilege change can go unnoticed by monitoring. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
MongoDB Server branches 7.0.x before 7.0.48, 8.0.x before 8.0.37, 8.3.x before 8.3.16, and 9.0.x before 9.0.7 can leave stale role references behind when a role is dropped, so recreating a role with the same name silently grants its new privileges to previously associated users without an explicit grant or audit event. Exploitation requires authenticated access with database-administrative role-management privileges (PR:H) and the specific drop-then-recreate sequence; no public exploit identified at time of analysis. Vendor patches are available.
RemediationAI
Upgrade to MongoDB Server 7.0.48, 8.0.37, 8.3.16, or 9.0.7 respectively; the vendor reports a patch is available and the advisory is at https://jira.mongodb.org/browse/SERVER-130261. Because exploitation requires role-management authority, restrict userAdmin/dbAdmin and other role-management privileges to accounts that genuinely need them, accepting the operational trade-off that fewer administrators can perform role lifecycle changes. After any role drop/recreate cycle, manually inspect user and role documents for stale references, since the resulting privilege inheritance produces no audit event; this manual review is a compensating detection measure and does not replace patching.
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 Server implements role-based access control through role definitions and role assignments stored in user and role documents. The drop operation is intended to remove both the role definition and any references to it, but incorrect internal query predicates cause incomplete cleanup (CWE-459): the role definition is deleted while stale references remain in user and role documents. If a role with the same name is later recreated with different privileges, those stale references resolve to the new role, silently granting its privileges to previously associated users without an explicit grant and without an audit event. The CVSS 4.0 vector shows network reachability, high privileges required (PR:H), and no user interaction; the concrete trigger is the drop-then-recreate-with-same-name sequence described in the assessment, and affected branches are MongoDB Server 7.0.x, 8.0.x, 8.3.x, and 9.0.x before their respective fixes.
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:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Requires database-admin privileges on the target DB (PR:H) over the network (AV:N) with no user interaction; primary impact is integrity of the authorization model (I:H) with limited confidentiality (C:L) and no availability effect.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A flaw in MongoDB Server's user management commands may lead to incomplete cleanup of role authorization data when roles are dropped from a database. Due to incorrect internal query predicates, the drop operation removes role definitions but fails to remove stale references in user and role documents. If a role with the same name is subsequently recreated with different privileges, previously associated users may silently inherit the new role's privileges without an explicit grant or corresponding audit event. Exploitation requires authenticated access with database administrative privileges on the target database.
Articles & Coverage 1
Executive ViewAI
MongoDB Server contains a high-severity flaw in role management that can silently grant unintended privileges to users, undermining access controls and audit integrity. Organizations using affected versions face potential unauthorized access to sensitive data, and leadership should prioritize patching to maintain regulatory compliance and trust.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-122888
GHSA-6j54-23c6-25cx
NVD
CVE.org
EPSS
Exploit-DB