Description
An issue in the server’s Atlas Search integration allows an authenticated user to bypass per-user access controls.



In sharded topologies, the $search and $searchMeta aggregation stages use internal routing that is normally populated only by the trusted router during sharded search planning. Due to insufficient input validation, an authenticated client can supply these fields directly.
Published: 2026-07-22
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An authenticated user can supply the $search and $searchMeta aggregation stages in a sharded topology and bypass per-user access controls because the server performs insufficient input validation. This flaw allows the client to influence internal routing that is normally supplied by a trusted router, leaking data from collections that the user should not see. The weakness is a classic input validation error (CWE-20). The potential impact is the unauthorized disclosure of data that may contain sensitive or confidential information.

Affected Systems

MongoDB Server in a sharded deployment is impacted. No specific affected versions are listed in the advisory; administrators should verify which releases contain the fix once it is available.

Risk and Exploitability

The CVSS score of 6 indicates a medium severity issue. The EPSS score is less than 1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to have an authenticated session with a user that has the privilege to run aggregation pipelines, a condition that is likely met by many typical database users. The flaw is therefore exploited by providing crafted $search or $searchMeta fields during an aggregation query.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MongoDB Server to a version where the Atlas Search authorization bypass is fixed
  • Limit users to the minimum role necessary so that only those who truly need to run $search or $searchMeta have that privilege
  • If Atlas Search is not required, disable or remove the feature from the deployment

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description An issue in the server’s Atlas Search integration allows an authenticated user to bypass per-user access controls. In sharded topologies, the $search and $searchMeta aggregation stages use internal routing that is normally populated only by the trusted router during sharded search planning. Due to insufficient input validation, an authenticated client can supply these fields directly.
Title Authorization Bypass via Client-Supplied $search.mergingPipeline Leaks Unauthorized Collection Data Through $$SEARCH_META
Weaknesses CWE-20
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-23T14:25:25.365Z

Reserved: 2026-06-23T17:59:59.476Z

Link: CVE-2026-13057

cve-icon Vulnrichment

Updated: 2026-07-23T14:25:21.293Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T20:16:43.523

Modified: 2026-08-05T15:10:50.537

Link: CVE-2026-13057

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:15:04Z

Weaknesses
  • CWE-20

    Improper Input Validation