Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-13057 EUVD-2026-47778GHSA-6cv6-595x-vg7h

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

Published Jul 22, 2026 · Updated Jul 23, 2026 · Assigned by mongodb

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

VendorProductAffectedFixed
MongoDB MongoDB Server 8.0 – < 8.0.28, 8.3.0 – < 8.3.7, 8.2.0 – < 8.2.12 8.0.28

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References