Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 81%

CVE-2026-13057: CWE-20 Improper input validation in MongoDB MongoDB Server

0
Medium
VulnerabilityCVE-2026-13057cvecve-2026-13057cwe-20
Published: 07/22/2026 (07/22/2026, 19:22:05 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
mongodb/mongo
pkg:github/mongodb/mongo
Affected versions
=8.0=8.2.0=8.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 05:11:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses