CVE-2026-13060

$graphLookup Aggregation Stage Authorization Check Inconsistency Allowing Unauthorized Collection Access

Published Jul 22, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
An authenticated user with limited read privileges may be able to access documents from collections they are not authorized to read, due to an inconsistency in how the $graphLookup aggregation stage is evaluated during authorization and during execution. Affected scenarios involve collections referenced within existing view pipeline definitions.

Analysis

AI-generated

Technical impact

The flaw, identified as CWE-863, allows an authenticated user with only limited read rights to view documents in collections that the user should not be able to access. It arises because the $graphLookup aggregation stage is evaluated inconsistently during authorization checks and during actual execution, which creates a gap that can be exploited through view pipelines that reference other collections.

Affected Systems

MongoDB Server installations that use $graphLookup within view pipeline definitions. Any deployment where a view includes the $graphLookup stage on a collection the authenticated user normally cannot read is susceptible; the CVE does not list specific version numbers, so all versions that expose this functionality are potentially affected.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity. The EPSS score of < 1% suggests that widespread automated exploitation is unlikely, but the vulnerability does not appear in the CISA KEV catalog. Because an attacker only needs legitimate authentication with restricted read privileges, the risk to confidentiality for users who can be granted read access is significant, especially in environments with many read‑only users or poorly defined collection permissions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest MongoDB Server security patch that addresses the authorization inconsistency in the $graphLookup stage.
  • Restrict read‑only roles to the minimum set of collections necessary for their work, ensuring that collections referenced by view pipelines are excluded from those roles.
  • Audit all view pipeline definitions that use $graphLookup; remove or modify references to sensitive collections until the patch is applied.
  • If a patch cannot be applied immediately, temporarily disable or drop any view that contains $graphLookup until the issue is resolved.

Generated by OpenCVE AI on August 3, 2026 at 23:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
Description An authenticated user with limited read privileges may be able to access documents from collections they are not authorized to read, due to an inconsistency in how the $graphLookup aggregation stage is evaluated during authorization and during execution. Affected scenarios involve collections referenced within existing view pipeline definitions.
Title $graphLookup Aggregation Stage Authorization Check Inconsistency Allowing Unauthorized Collection Access
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Sep 17, 2026, 6:35 PM
Reserved
Jun 23, 2026, 6:00 PM
Status
Analyzed
Published
Jul 22, 2026, 8:16 PM
Modified
Oct 24, 2026, 1:10 PM