CVE-2026-13057: CWE-20 Improper input validation in MongoDB MongoDB Server
CVE-2026-13057 is a medium severity vulnerability in MongoDB Server's Atlas Search integration. It allows an authenticated user to bypass per-user access controls in sharded topologies by exploiting insufficient input validation in the $search and $searchMeta aggregation stages. These stages use internal routing fields normally set only by trusted routers during sharded search planning, but the vulnerability permits clients to supply these fields directly.
AI Analysis
Technical Summary
This vulnerability arises from improper input validation (CWE-20) in MongoDB Server's Atlas Search feature within sharded cluster environments. Specifically, the $search and $searchMeta aggregation stages rely on internal routing information that should only be populated by trusted components. However, an authenticated user can directly supply these internal routing fields, bypassing intended per-user access controls. This flaw affects versions 8.0, 8.2.0, and 8.3.0 of MongoDB Server. The CVSS 4.0 base score is 6.0, indicating a medium severity issue. No official remediation or patch information is currently available, and no known exploits are reported in the wild.
Potential Impact
An authenticated user can bypass per-user access controls in MongoDB Server's Atlas Search on sharded topologies, potentially gaining unauthorized access to data that should be restricted. This compromises the integrity of access control mechanisms but requires authentication and does not allow privilege escalation beyond that user’s authenticated level.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to trusted users only and monitor for unusual usage of $search and $searchMeta aggregation stages in sharded environments. Avoid exposing MongoDB Server to untrusted networks where possible.
CVE-2026-13057: CWE-20 Improper input validation in MongoDB MongoDB Server
Description
CVE-2026-13057 is a medium severity vulnerability in MongoDB Server's Atlas Search integration. It allows an authenticated user to bypass per-user access controls in sharded topologies by exploiting insufficient input validation in the $search and $searchMeta aggregation stages. These stages use internal routing fields normally set only by trusted routers during sharded search planning, but the vulnerability permits clients to supply these fields directly.
CVSS v4.0
Score 6.0medium
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from improper input validation (CWE-20) in MongoDB Server's Atlas Search feature within sharded cluster environments. Specifically, the $search and $searchMeta aggregation stages rely on internal routing information that should only be populated by trusted components. However, an authenticated user can directly supply these internal routing fields, bypassing intended per-user access controls. This flaw affects versions 8.0, 8.2.0, and 8.3.0 of MongoDB Server. The CVSS 4.0 base score is 6.0, indicating a medium severity issue. No official remediation or patch information is currently available, and no known exploits are reported in the wild.
Potential Impact
An authenticated user can bypass per-user access controls in MongoDB Server's Atlas Search on sharded topologies, potentially gaining unauthorized access to data that should be restricted. This compromises the integrity of access control mechanisms but requires authentication and does not allow privilege escalation beyond that user’s authenticated level.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to trusted users only and monitor for unusual usage of $search and $searchMeta aggregation stages in sharded environments. Avoid exposing MongoDB Server to untrusted networks where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-06-23T17:59:59.476Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a61231e9c2644c7f89b2c7f
Added to database: 07/22/2026, 20:07:58 UTC
Last enriched: 07/30/2026, 05:11:28 UTC
Last updated: 09/05/2026, 10:52:07 UTC
Views: 70
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.