Skip to content

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

MediumCVSS 6.0 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 8.0, < 8.0.28; >= 8.2.0, < 8.2.12; >= 8.3.0, < 8.3.7 8.0.28, 8.2.12, 8.3.7 Fixed
mongodb/mongodb >= 8.0.0, < 8.0.28; >= 8.2.0, < 8.2.12; >= 8.3.0, < 8.3.7 8.0.28, 8.2.12, 8.3.7 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 8.0, < 8.0.28 8.0.28
MongoDB Server >= 8.3.0, < 8.3.7 8.3.7
MongoDB Server >= 8.2.0, < 8.2.12 8.2.12
mongodb/mongodb >= 8.0.0, < 8.0.28 8.0.28
mongodb/mongodb >= 8.2.0, < 8.2.12 8.2.12
mongodb/mongodb >= 8.3.0, < 8.3.7 8.3.7

References