What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 8.0.28, 8.2.12, 8.3.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-13057 or the next vulnerability affects your stack