
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-120826 is an authorization bypass vulnerability in MongoDB Server's aggregation and view-definition handling for sharded deployments. An authenticated user with only basic read-write privileges on a single database can define a view whose underlying processing is not fully subjected to privilege checking, potentially exposing data from other databases on the same shard. The vulnerability affects MongoDB Server versions 9.0.0 through 9.0.6 (fixed in 9.0.7). It carries a CVSS v3.1 score of 6.5 (Medium) and a CVSS v4.0 score of 7.1 (High) (GitHub Advisory, MongoDB Jira).
The root cause is classified as CWE-863 (Incorrect Authorization): the MongoDB aggregation engine and view-definition subsystem in sharded deployments fail to fully enforce privilege checks on the underlying pipeline operations when a view is created by a low-privileged user. An attacker with network access and valid credentials (read-write on any single database) can craft a view definition that references collections in other databases on the same shard, and the privilege check is not correctly applied when that view is subsequently read. No special configuration or user interaction is required beyond having a valid low-privilege account (GitHub Advisory, MongoDB Jira).
Successful exploitation allows an authenticated attacker to read data from databases they are not authorized to access, provided those databases reside on the same shard as the attacker's authorized database. The impact is limited to confidentiality — no integrity or availability impact has been identified. In multi-tenant or shared MongoDB sharded cluster environments, this could expose sensitive data belonging to other users or applications co-located on the same shard (GitHub Advisory).
There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and SSVC assessment indicates it is not automatable. The EPSS score is approximately 0.355%, placing it in the 30th percentile for exploitation likelihood within 30 days (GitHub Advisory, MongoDB Jira).
sh.status() if accessible, or by inference).db.createView('maliciousView', { $lookup: { from: 'otherDB.sensitiveCollection', ... } }) or equivalent pipeline syntax that crosses database boundaries.db.maliciousView.find()) to retrieve data from the unauthorized database, bypassing the privilege check that should have blocked cross-database access.createView operations by low-privileged users that reference collections or namespaces outside their authorized database; subsequent find or aggregation operations on those views.$lookup, $graphLookup, $unionWith, or other pipeline stages referencing namespaces in other databases on the same shard.system.profile collection or slow query logs, particularly involving view reads that span multiple database namespaces (GitHub Advisory).MongoDB has released version 9.0.7 which addresses this vulnerability; upgrading is the recommended remediation (MongoDB Jira). For deployments that cannot be immediately patched, administrators should audit and restrict view definitions in sharded environments — particularly those created by users with basic read-write privileges — and review whether any existing views reference cross-database namespaces. Additionally, monitoring access patterns to views for suspicious cross-database data access can help detect potential exploitation until patching is complete (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."