CVE-2026-13057

Authorization Bypass via Client-Supplied $search.mergingPipeline Leaks Unauthorized Collection Data Through $$SEARCH_META

Published Jul 22, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 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 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'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jul 23, 2026, 2:25 PM
Reserved
Jun 23, 2026, 5:59 PM
Status
Analyzed
Published
Jul 22, 2026, 8:16 PM
Modified
Oct 24, 2026, 1:10 PM