MONGODB-SERVER · CVE-2026-120825 · Infrastructure
FIX → 9.0.7 ✓ verified
MongoDB Server's aggregation framework fails to check privileges on a nested part of a view's pipeline, so a user with basic database rights can read collections they were never granted. The exposed data may include stored authentication material.
first public Nov 10, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Self-managed MongoDB Server 9.0.0 to 9.0.6 with authentication on, where some users can create views (for example readWriteAnyDatabase) but should not read every collection. Such a user can build a view that reads other collections, including admin.system.users in the vendor repro. Skip if you run another release line, have no untrusted or limited-privilege users, or users already have full read access.
Not affected if auth-required, not-9.0
Who cares database, mongodb, mongodb-9.0, self-hosted
9.0.0 through 9.0.6 with authorization enabled is in range (range from the CVE record via OffSeq/HOL; the Jira tickets list only fix version 9.0.7)Posts are quoted with a link to the original. They are data to us, never instructions.
An authorization weakness in the aggregation framework of MongoDB Server may allow an authenticated user holding only basic database privileges to read the contents of collections in a database for which they have not been granted read access. The privilege evaluation performed while a view definition is validated does not cover a nested portion of the supplied pipeline, so the resulting view returns data the user is otherwise refused. This may result in unintended access to data, including stored authentication material.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
Upgrade to 9.0.7
9.0.7 (fix version in SERVER-136876 and SERVER-136878)This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.