Summary
Ein Angreifer kann mehrere Schwachstellen in MongoDB ausnutzen, um beliebigen Programmcode auszuführen, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, Daten zu manipulieren, Speicherbeschädigungen herbeizuführen oder einen Denial-of-Service-Zustand zu verursachen.
Product
MongoDB ist ein Open-Source-Dokumentendatenbank.
Vulnerabilities 26
-
High 8.1
Improper Validation of Client-Supplied Command Parameters Allowing Role-Based Access Control Bypass
An authenticated user with low privileges may be able to perform unauthorized reads and writes on data protected by role-based query-level access controls, due to insufficient validation of certain client-supplied command parameters. The issue affects find, u…
-
High 8.1
MongoDB Improper Input Validation in Compute Mode External Data Processing Leading to Memory Corruption
When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BSON data during aggregation pipeline processing can result in memory corruption, potentially leading to process termination or other unintended behavi…
-
High 7.8
Compass connection import allows to override OIDC browser open command (usually set through settings), allowing for arbitrary shell commands execution when connecting to cluster using OIDC auth flow
When importing connections in Compass it is possible to override some connection options that are otherwise can't be changed via connection form. In particular it is possible to provide a custom browser open command for OIDC auth flow that is usually can be s…
-
High 7.7CVE-2026-13078 Public exploit
Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader
A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges…
-
High 7.1
Transaction Command Insufficient Input Validation Leading to Process Termination
An authenticated user with basic write privileges can cause the mongod process to terminate abnormally by sending a crafted transaction command with an incomplete set of required fields. The issue stems from inconsistent validation across related transaction …
-
High 7.1
Out-of-Bounds Heap Read in BSON CodeWScope Element Parsing via Malformed BSONColumn Data
A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an authenticated user by generating a malformed BSONColumn data …
-
Medium 6.5
Server crash via aggregation pipeline expression with compound wildcard index specification
The `$_internalIndexKey` aggregation expression can be used by any authenticated user to crash a MongoDB server (mongod). The expression fails to handle compound wildcard index specifications, triggering an internal consistency check that aborts the server pr…
-
Medium 6.5
A user with read access can cause a DoS by executing a specifically crafted query to consume a large amount of RAM
Using expressions that generate large arrays it is possible to craft a query that creates very large intermediate objects in memory, causing the server to crash with OOM error.
-
Medium 6.5
$graphLookup Aggregation Stage Authorization Check Inconsistency Allowing Unauthorized Collection Access
An authenticated user with limited read privileges may be able to access documents from collections they are not authorized to read, due to an inconsistency in how the $graphLookup aggregation stage is evaluated during authorization and during execution. Affe…
-
Medium 6.5
MongoDB mongos Improper Validation of Internal Flags in Queryable Encryption Write Commands on Sharded Clusters
An authenticated user with write privileges on a Queryable Encryption-enabled collection may be able to modify internal encryption metadata fields that are intended to be server-controlled, by sending crafted write commands through the mongos router on a shar…
-
Medium 6.5
MongoDB $jsonSchema Query Operator Excessive CPU Consumption Leading to Denial of Service
Certain query operations involving deeply nested $jsonSchema constructs can trigger disproportionate CPU consumption in affected MongoDB deployments, potentially leading to resource exhaustion. The resulting CPU-bound operation cannot be interrupted through s…
-
Medium 6.5
MongoDB $linearFill Window Function Improper Input Validation Leading to Process Termination
A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window function operator with a specific sortBy expression type to cause the mongod process to terminate abnormally, resulting in denial of service. The issue stem…
-
Medium 6.5
Server-Side JavaScript DBPointer BSON Serialization Memory Disclosure
Improper handling of DBPointer objects during BSON serialization in MongoDB's server-side JavaScript engine can result in internal process memory contents being included in data returned to the client. This constitutes an unintended information disclosure aff…
-
Medium 6.5
Queryable Encryption FLE2 Find Payload Missing Input Validation Leading to Resource Exhaustion
An authenticated user can cause excessive CPU consumption or out-of-memory conditions on a MongoDB server by sending a crafted Queryable Encryption find payload containing an unvalidated field used to control an internal computation loop. The resulting resour…
-
Medium 6.5
Server-Side JavaScript Aggregation Expression Memory Safety Issue Leading to Process Termination
An authenticated user with read access can cause the mongod process to be terminated through certain aggregation expressions that execute server-side JavaScript. The issue involves improper memory handling during document processing.
-
Medium 6.5
$rankFusion and $scoreFusion Unbounded Memory Allocation During Error Suggestion Generation
An authenticated user can cause the mongod process to be terminated by the operating system under memory pressure via the $rankFusion and $scoreFusion aggregation stages. The issue originates in the server's error-handling path and requires the ability to run…
-
Medium 6.5
Aggregation Framework Memory Exhaustion Leading to Process Termination
An authenticated user can cause a {{mongod}} process to be terminated by the operating system under memory pressure by performing a specific data type conversion operation within MongoDB's aggregation framework. The behavior stems from disproportionate memory…
-
Medium 6.5
Find command with $meta sort can lead to crash
During query planning when reading the sort pattern in raw BSONObj form, in some places we don’t explicitly handle the meta expression case. This may lead to incorrect transformations leading to invariant failure.
-
Medium 6.3
tlsCATrusts Role Restriction Not Enforced via PROXY Protocol v2 on Unix Domain Socket
When PROXY protocol v2 is used on the Unix domain socket path, roles derived from X.509 client certificates may not be validated against the configured tlsCATrusts allow-list. This can result in unintended role assignments following MONGODB-X509 authenticatio…
-
Medium 5.3
Authorization Bypass via Client-Supplied $search.mergingPipeline Leaks Unauthorized Collection Data Through $$SEARCH_META
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…
-
Medium 5.3
Improper Validation of OCSP Response During Outbound TLS Handshake Leading to Process Termination
A MongoDB server initiating an outbound TLS connection may terminate abnormally when processing a malformed OCSP response from a remote peer during the TLS handshake. OCSP stapling validation is enabled by default for outgoing TLS connections. Affected scenar…
-
Medium 5.3
Awaitable Hello Command in Exhaust Mode Unthrottled Response Loop Leading to Denial of Service
An unauthenticated remote client can cause excessive CPU consumption on a MongoDB server by sending a specific combination of parameters to the awaitable hello command in exhaust mode. The server's handling of this combination results in a response loop that …
-
Medium 4.3
Improper Access Control Allowing Cross-User Session Metadata Disclosure in $listSessions Aggregation Stage
An authenticated user may be able to view session metadata belonging to other users on the system through the $listSessions aggregation stage. This information is normally restricted to users with cluster-level administrative privileges, and includes active s…
-
Medium 4.3
libmongocrypt Improper Input Validation Leading to Process Termination
An authenticated user with standard read/write privileges can cause the mongod process to terminate due to an out-of-memory condition by sending a crafted aggregation command. MongoDB's libmongocrypt library insufficiently validates payload-supplied values, w…
-
Medium 4.3
MongoDB Aggregation Command Invariant Assertion Failure Leading to Process Termination
An authenticated user with read-only privileges can cause the mongod process to terminate abnormally by issuing a crafted aggregation command, resulting in denial of service for all connected clients until the process is restarted. The issue stems from an int…
-
Medium 4.2
MongoDB mongos Improper Authorization Check in Cursor Termination Allowing Cross-Database Privilege Misuse
An authenticated user holding cursor termination privileges on one database may incorrectly be permitted to terminate active cursors on a separate database, disrupting ongoing query operations for other users. The behavior stems from an authorization check th…
Revision history
-
#1
Initiale Fassung
References
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-273c-743j-vc74
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-2xr2-6gf6-vqjx
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-3hrm-h2m4-hcr8
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-3r6x-hxgf-2vcw
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-4fx2-v6gr-hm23
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-528v-8qvj-8g29
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-538q-5r7v-2m59
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-5f3w-w96q-cw2f
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-64h4-qmc6-6gw9
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-6cv6-595x-vg7h
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-6x3f-g6jr-wq84
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-7jg8-fv7f-r7hw
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-7wp7-648j-j534
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-9f98-54v9-5hh9
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-9fpm-hjq6-gj4f
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-c3m4-h7px-8423
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-fcc5-5hp3-gxp7
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-fpx3-f8x9-6hqm
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-fq6g-pppq-26pj
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-ghvc-23m5-5q74
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-hw74-92vg-cf79
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-qc6v-35w2-x3gc
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-r25x-6f4h-78mr
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-w3fp-8cx4-8vqp
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-wvx7-gr2m-7rf5
-
GitHub Advisory Database vom 2026-07-22
https://github.com/advisories/GHSA-x6w8-xx66-6gpm