Stale role references in MongoDB Server leak privileges to recreated roles
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
MongoDB Server from 9.0.0 before 9.0.7, from 8.3.0 before 8.3.16, from 8.0.0 before 8.0.37 and from 7.0.0 before 7.0.48 is affected. Incorrect query predicates in the user management commands make dropping roles from a database leave stale role references in user and role documents (CWE-459). If a role with the same name is later recreated with different privileges, previously associated users can silently gain those privileges without an explicit grant or audit event. An attacker needs authenticated access with database administrative privileges on the target database.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | MongoDB Server | 9.0.0 to before 9.0.7; 8.3.0 to before 8.3.16; 8.0.0 to before 8.0.37; 7.0.0 to before 7.0.48 | 9.0.7, 8.3.16, 8.0.37, 7.0.48 | Patch available | CNA |
- MongoDB Server VendorMongoDB Affected 9.0.0 to before 9.0.7; 8.3.0 to before 8.3.16; 8.0.0 to before 8.0.37; 7.0.0 to before 7.0.48 Fixed in 9.0.7, 8.3.16, 8.0.37, 7.0.48 Patch available CNA
Remediation
Upgrade MongoDB Server to 9.0.7, 8.3.16, 8.0.37 or 7.0.48, depending on the release branch in use. The sources list no vendor advisory identifiers for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA MongoDB Server (MongoDB) Fixed in 9.0.7, 8.3.16, 8.0.37, 7.0.48
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB Server 7.0.48, 8.0.37 and 2 more versions
13 records Highest priority Priority HIGH 3 HIGH, 3 MEDIUM, 7 LOW
Other records, highest priority first
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative CommandPriority HIGH 72
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin accessPriority HIGH 72
- TI-2026-89281 Privilege escalation via fail-open user lookup in MongoDB X.509 guardPriority HIGH 68
Timeline
- 2026-11-10 Threatist record created from CVE-2026-120806
- 2026-11-10 Alias added: GHSA-6j54-23c6-25cx
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-13 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-120806 · CVE Program
- CVE-2026-120806 · NVD
- FIRST EPSS
- GHSA-6j54-23c6-25cx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences