Skip to main content

MongoDB Atlas Search CVE-2026-13057

| EUVDEUVD-2026-47778 MEDIUM
Improper Input Validation (CWE-20)
2026-07-22 cna@mongodb.com
6.0
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
6.0 MEDIUM
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.3 MEDIUM

Sharded topology with Atlas Search and per-user ACLs required (AC:H); valid authenticated account mandatory (PR:L); confidentiality-only impact, no scope change.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 21:03 EUVD
Analysis Generated
Jul 22, 2026 - 20:40 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Atlas Search integration in MongoDB's sharded topology exposes a per-user access control bypass to authenticated low-privileged users. The $search and $searchMeta aggregation pipeline stages rely on internal routing fields that are intended to be injected exclusively by the trusted mongos router during sharded query planning; due to insufficient input validation (CWE-20), an authenticated client can supply these fields directly and circumvent the access controls normally enforced per-user. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV; the CVSS 4.0 score of 6.0 reflects the combination of high confidentiality impact against a sharded-only attack surface requiring authenticated access.

Technical ContextAI

The vulnerability resides in the server-side handling of MongoDB's Atlas Search aggregation stages ($search and $searchMeta) within sharded cluster topologies. In a sharded deployment, the mongos router normally enriches these pipeline stages with internal routing metadata - fields that direct search queries to the correct shard(s) during planning. Because the underlying aggregation stage handler performs insufficient input validation (CWE-20: Improper Input Validation), it does not distinguish between routing context legitimately injected by the trusted router and context injected directly by a client. This breaks the trust boundary that Atlas Search relies upon to enforce per-user access control policies, allowing an authenticated user to craft a pipeline that presents routing context outside their privilege boundary. The flaw is specific to the Atlas Search integration layer - not the core aggregation engine - and only manifests in sharded topologies where this routing handshake is exercised.

RemediationAI

Apply the patch referenced in MongoDB Jira ticket SERVER-126247 (https://jira.mongodb.org/browse/SERVER-126247); the exact fixed MongoDB server version is not independently confirmed from available data and must be verified directly against the MongoDB advisory or release notes. As a compensating control pending patching, restrict aggregation pipeline execution privileges - particularly $search and $searchMeta stages - to only trusted, high-privilege accounts in sharded environments, reducing the pool of principals who could abuse the injection vector. Additionally, audit recent aggregation pipeline activity in sharded clusters for unexpected cross-boundary $search usage that may indicate exploitation. Organizations not running sharded topologies or not using Atlas Search require no action. Note that restricting pipeline access may impact legitimate Atlas Search workloads and should be tested before deployment.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2021-20333 MEDIUM POC
5.3 Jul 23

Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log e

CVE-2026-13072 CRITICAL
9.2 Jul 22

Memory corruption in MongoDB standalone mongod servers running with compute mode enabled allows remote attackers to cras

CVE-2017-15535 CRITICAL
9.1 Nov 01

MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting, networkMessageCompr

CVE-2020-2268 HIGH
8.8 Sep 16

A cross-site request forgery (CSRF) vulnerability in Jenkins MongoDB Plugin 1.3 and earlier allows attackers to gain acc

Share

CVE-2026-13057 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy