CVE-2026-13057

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

State
Published
Severity
6.0 Medium
Published
Jul 22, 2026
Updated
Jul 23, 2026
Reserved
Jun 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:Nmongodb
3.15.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:Nmongodb

Weaknesses

  • CWE-20 Improper input validation

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 8.0 to before 8.0.28Affected
  • 8.3.0 to before 8.3.7Affected
  • 8.2.0 to before 8.2.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.