MongoDB NoSQL Database
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in any MongoDB product.
RSS Feeds for MongoDB security vulnerabilities
Create a CVE RSS feed including security vulnerabilities found in MongoDB products with stack.watch. Just hit watch, then grab your custom RSS feed url.
Products by MongoDB Sorted by Most Security Vulnerabilities since 2018
Known Exploited MongoDB Vulnerabilities
The following MongoDB vulnerabilities have been marked by CISA as Known to be Exploited by threat actors.
| Title | Description | Added |
|---|---|---|
| MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Vulnerability |
MongoDB Server contains an improper handling of length parameter inconsistency vulnerability in Zlib compressed protocol headers. This vulnerability may allow a read of uninitialized heap memory by an unauthenticated client. CVE-2025-14847 Exploit Probability: 83.2% |
December 29, 2025 |
| MongoDB mongo-express Remote Code Execution Vulnerability |
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method. CVE-2019-10758 Exploit Probability: 84.7% |
December 10, 2021 |
Of the known exploited vulnerabilities above, 2 are in the top 1%, or the 99th percentile of the EPSS exploit probability rankings.
By the Year
In 2026 there have been 288 vulnerabilities in MongoDB with an average score of 6.6 out of ten. Last year, in 2025 MongoDB had 23 security vulnerabilities published. That is, 265 more vulnerabilities have already been reported in 2026 as compared to last year. However, the average CVE base score of the vulnerabilities in 2026 is greater by 0.17.
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 288 | 6.62 |
| 2025 | 23 | 6.45 |
| 2024 | 17 | 6.72 |
| 2023 | 6 | 7.03 |
| 2022 | 4 | 6.65 |
| 2021 | 14 | 5.71 |
| 2020 | 20 | 6.42 |
| 2019 | 3 | 6.87 |
| 2018 | 2 | 8.10 |
It may take a day or so for new MongoDB vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent MongoDB Security Vulnerabilities
| CVE | Date | Vulnerability | Products |
|---|---|---|---|
| CVE-2026-126818 | Nov 13, 2026 |
Mongoid Ruby ODM Improper Field-Level Encryption BypassA Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in readable form without any error or warning. A database account holding only read access to the application's collections, and no access to the encryption key store, may obtain those values. |
|
| CVE-2026-126817 | Nov 13, 2026 |
Mongoid ODM clientside encryption schema flaw leads to cleartext dataA flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form. |
|
| CVE-2026-126982 | Nov 13, 2026 |
MongoDB C# Driver BSON allowlist bypass leading to RCEA type allow-list bypass in the BSON serialization library of the MongoDB C# Driver allows a type-restriction check to be circumvented when polymorphic data is deserialized into loosely typed members. An unauthorized party who can supply or plant BSON/JSON data that the application later deserializes can cause the application process to instantiate .NET types outside the intended allow-list and populate them with unauthorized party-controlled values. In applications that contain a suitable gadget type, this can lead to arbitrary code execution in the context of the application, with corresponding loss of confidentiality, integrity, and availability. No special privileges beyond the ability to introduce data the application reads are required. |
|
| CVE-2026-126839 | Nov 12, 2026 |
MongoDB BSON Deserialization Type-Restriction Bypass (CVE-2026-126839)A deserialization type-restriction control in the BSON serialization component can be bypassed because the check used to recognize a class of compiler-generated types relies on an overly permissive heuristic rather than a precise identification. An unauthorized party able to supply BSON content that an application later deserializes into a loosely typed member can cause types outside the intended allow-list to be constructed and populated with unauthorized party-supplied values inside the consuming application. This can lead to unexpected object state and errors in downstream application logic. No elevated privileges beyond the ability to place unauthorized party-influenced content in the deserialization path are required. |
|
| CVE-2026-126792 | Nov 12, 2026 |
MongoDB lib keymanagement OOB heap write via unchecked key sizeA memory-safety flaw in the key-management request-building component of the library can lead to an out-of-bounds write on the heap. A fixed-size output buffer is used under an assumption about cryptographic key size that is never validated, so when the library is embedded by a caller that supplies its own cryptographic callback implementation, data larger than the buffer can be written past its end. Exploitation requires the ability to control the embedding application's in-process key-management provider configuration, a high-privilege position. The demonstrated impact is memory corruption resulting in abnormal termination of the client process. |
|
| CVE-2026-126823 | Nov 12, 2026 |
MongoDB Java JDBC Driver DLL Hijack via Shared TempA local user with an ordinary account on the same host can place a file in a shared temporary location that the JDBC driver's native library loading routine will accept and load without verifying its origin. Loading the driver class in a Java application may then run code of that user's choosing inside the application process, which may result in disclosure or alteration of data held by that process or in the process becoming unavailable. |
|
| CVE-2026-126838 | Nov 12, 2026 |
MongoDB Rust Driver KMS Credential Leak via Diagnostic OutputA MongoDB Rust Driver component that holds client-side field level encryption settings includes key management service credential material in its diagnostic formatting output without redaction. An application that records or displays this formatted output may place that material where a party with read access to the application's diagnostic output can see it, which may result in unintended disclosure of key material. |
|
| CVE-2026-126835 | Nov 12, 2026 |
MongoDB Node.js Driver OIDC Host Bypass Leads to Token LeakThe MongoDB Node.js driver does not consistently enforce its permitted-host restriction during OIDC authentication. A bearer token produced by the embedding application's own login callback may therefore be transmitted to a host outside the configured set of permitted hosts, which may result in unintended disclosure of that credential. No database account is required; the party supplying the connection configuration needs only to influence the settings the application passes to the driver. |
|
| CVE-2026-126837 | Nov 12, 2026 |
MongoDB Node.js Driver DNS SRV Host Validation BypassA validation flaw in the DNS SRV host discovery of the MongoDB Node.js driver may cause the driver to connect to a host outside the expected domain. For a mongodb+srv:// connection string, the driver checks each host name in the DNS SRV response against the domain of the connection string. The driver then builds the connection address from the original name, in which certain characters end the host name early. An unauthenticated party who can forge or change the DNS SRV response may redirect the connection to a host of their choice. TLS does not prevent this, because the driver verifies the server certificate against the redirected host name. This may result in unintended disclosure of application data and authentication credentials, and in altered query results. Applications that use mongodb:// connection strings are not affected. |
|
| CVE-2026-120819 | Nov 10, 2026 |
MongoDB Server JS Exec Memory Release UAF Info LeakA memory-management flaw in the server-side JavaScript execution component of MongoDB Server can allow an authenticated user holding only read privileges to cause the server to access memory that has already been released. By submitting a specially crafted database command that runs user-supplied JavaScript, the user can cause a bounded amount of adjacent process memory to be returned in the command's result. This results in the user obtaining information they are not authorized to access. Integrity and availability are not affected. |
|
| CVE-2026-118383 | Nov 10, 2026 |
MongoDB Server Replication Use-After-Free (CVE-2026-118383)A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not. |
|
| CVE-2026-120828 | Nov 10, 2026 |
MongoDB Replica Set Memory Exhaustion via Unbounded Wait Records (DoS)A replica-set database server node does not limit or reclaim internal wait records created while handling a client-supplied read option that names a point in time the node will never reach. A party with network access and no credentials can cause these records to accumulate without bound and persist after the requests end, which may make the server run out of memory and become unavailable. |
|
| CVE-2026-120826 | Nov 10, 2026 |
MongoDB Sharded Deployment View Privilege Bypass (Auth Flaw)An authorization flaw in the aggregation and view-definition handling of sharded deployments may allow a user holding only basic read-write privileges on a single database to define a view whose underlying processing is not fully subjected to privilege checking. Reading that view may result in unintended access to data belonging to other databases held on the same shard. |
|
| CVE-2026-120825 | Nov 10, 2026 |
MongoDB Server Auth Bypass via Aggregation View Privilege BypassAn authorization weakness in the aggregation framework of MongoDB Server may allow an authenticated user holding only basic database privileges to read the contents of collections in a database for which they have not been granted read access. The privilege evaluation performed while a view definition is validated does not cover a nested portion of the supplied pipeline, so the resulting view returns data the user is otherwise refused. This may result in unintended access to data, including stored authentication material. |
|
| CVE-2026-120824 | Nov 10, 2026 |
MongoDB Server Time-Series Collection Use-After-FreeA use-after-free in the time-series collection component of MongoDB Server can occur when the server validates a time-series bucket document during a write. The condition can be caused by an authenticated user with privileges to write bucket documents directly, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. |
|
| CVE-2026-120823 | Nov 10, 2026 |
CVE-2026-120823: MongoDB Server Auth Bypass in Aggregation FrameworkA missing authorization check in the aggregation framework of MongoDB Server may allow a user holding any valid credentials, including an account with no assigned roles, to read deployment-wide query configuration data that is otherwise restricted to a cluster-level privilege. This may result in unintended access to configuration and schema information. |
|
| CVE-2026-120822 | Nov 10, 2026 |
MongoDB Server Auth Bypass via Replication Admin CommandMongoDB Server may omit an authorization check on the resource that a replication-related administrative command actually targets, because that check is conditioned on a value taken from the client's own request. A user holding backup and restore privileges may therefore read and relocate collections outside the set that user is permitted to access. This may result in unintended access to data and unintended changes to the collection catalog. |
|
| CVE-2026-120821 | Nov 10, 2026 |
MongoDB Server Use-After-Free in Aggregation Framework (CVE-2026-120821)A use-after-free in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated in an aggregation sub-pipeline. The condition can be caused by an authenticated user with read privileges, and may result in the server terminating unexpectedly. |
|
| CVE-2026-120820 | Nov 10, 2026 |
MongoDB Server Encrypted-Field Stats DoS Mem LeakMongoDB Server maintains an in-memory table of per-namespace statistics for operations that carry encrypted-field information. Entries are created for any namespace supplied in a request, with no limit on the number of entries and no way to remove entries that never corresponded to a real collection. A user with basic read privileges who repeatedly issues ordinary read commands referencing arbitrary namespace names may cause the server process to retain steadily increasing amounts of memory and to slow down on the affected code path; the memory is reclaimed only by restarting the process. |
|
| CVE-2026-120818 | Nov 10, 2026 |
MongoDB Server Use-After-Free in ServerSide JS AggregationA use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability. |
|
| CVE-2026-120817 | Nov 10, 2026 |
MongoDB Server Schema Validation Race Condition (Geospatial)A race condition in the schema validation component of MongoDB Server can occur when concurrent writes are checked against a collection validator that uses geospatial query operators. The condition can be caused by an authenticated user with write privileges, and may result in the server terminating unexpectedly. |
|
| CVE-2026-120816 | Nov 10, 2026 |
MongoDB Change Streams Privilege Bypass Data LeakageA user with basic read-tier database privileges can use an option on a server-side data-change notification feature to receive the contents of certain restricted internal collections that the same user is refused on a direct read. The privilege check for the notification feature is derived only from the target namespace and does not account for the option, so no additional permission is required. This may result in unintended access to data stored in those internal collections. |
|
| CVE-2026-120815 | Nov 10, 2026 |
MongoDB Server Improper Auth Check Leads to Local Privilege EscalationAn incorrect authorization check in the MongoDB Server authorization subsystem may allow an unauthenticated party with local host access to obtain administrative privileges on a database server that has authorization enabled. This may result in unintended access to stored data and credentials, unintended modification of data, and loss of availability of the server. |
|
| CVE-2026-120814 | Nov 10, 2026 |
MongoDB Server Sharding Privilege Escalation via Internal State ReplayAn improper privilege management issue in the sharding subsystem of MongoDB Server may allow a user holding certain shard-level administrative privileges to cause persisted internal coordination state to be reprocessed with elevated internal authority. Because that state is trusted rather than re-validated, operations may be carried out beyond the user's authorized scope, including changes to cluster-wide security configuration. Successful triggering this issue requires an authenticated session directly against a cluster member and can result in unauthorized access to and modification of data across the cluster. |
|
| CVE-2026-120813 | Nov 10, 2026 |
MongoDB CSFLE Schema Metadata Drop (CVE-2026-120813)An issue in MongoDB Server's client-side field-level encryption (CSFLE) schema processing component allows encryption metadata to be silently dropped during schema parsing under certain conditions. A party who can deliver a specially crafted schema to a user's CSFLE client may cause sensitive data intended for encryption to be stored in plaintext, bypassing confidentiality protections. Exploitation requires the ability to deliver the malicious schema to the user's client, such as through a man-in-the-middle position or an untrusted server. |
|
| CVE-2026-120812 | Nov 10, 2026 |
MongoDB Server Authenticated DoS via Query Recursion (CVE2026120812)An issue in MongoDB Server's query processing component allows an authenticated user with read privileges to cause a denial of service. Uncontrolled recursion in an internal query compilation component can lead to stack exhaustion and server process termination when processing certain queries against time-series collections. |
|
| CVE-2026-120811 | Nov 10, 2026 |
MongoDB Server Use-After-Free in Plan Cache (CVE2026120811)A use-after-free issue exists in the MongoDB servers classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash. |
|
| CVE-2026-120810 | Nov 10, 2026 |
MongoDB Aggregation Framework DoS via Unbounded Memory AllocationAn issue in MongoDB servers aggregation framework allows an authenticated user with read privileges to cause a denial of service by sending specially crafted aggregate commands using an internal expression. Despite its internal naming, this expression is registered as accessible to any authenticated client. By supplying crafted input parameters across multiple concurrent connections, each evaluation triggers unbounded memory allocations with no per-expression memory limits enforced. This can exhaust available server memory and cause the mongod process to be terminated by the operating systems out-of-memory killer. |
|
| CVE-2026-120809 | Nov 10, 2026 |
MongoDB SBE Engine Use-After-Free Read via $unwind on Time-SeriesA use-after-free read issue exists in MongoDBs SBE (Slot-Based Execution) engine when processing aggregation pipelines with $unwind on time-series collections. An internal error in state-preservation logic can cause a value still referenced by downstream stages to have its underlying memory freed prematurely. An authenticated user can craft an aggregation pipeline under specific conditions to trigger this condition, potentially reading recycled server heap memory in query results or crashing the server. This issue is only triggerable when a non-default server parameter related to the SBE engine is enabled. |
|
| CVE-2026-120808 | Nov 10, 2026 |
MongoDB macOS SecureTransport TLS Trust Bypass (IPv6)An issue exists in MongoDB's macOS TLS client implementation where certificate chain-of-trust validation is bypassed for outbound connections to IPv6-addressed peers. When a MongoDB process using the Apple SecureTransport TLS backend connects to an IPv6 target, the trust evaluation result from SecTrustEvaluate is silently discarded, regardless of whether the peer's certificate is trusted. An on-path party could exploit this by presenting a self-signed certificate containing the target's IPv6 address in the Subject Alternative Name to intercept and modify encrypted inter-node or external service traffic. This issue only affects MongoDB processes running on macOS with the Apple SecureTransport TLS provider. |
|
| CVE-2026-120807 | Nov 10, 2026 |
MongoDB X.509 Cluster Auth Bypass Priv EscA flaw in MongoDBs X.509 cluster-membership authentication guard could allow a holder of a cluster-member certificate to gain elevated internal privileges when a specific deployment configuration is in use. An internal check, which prevents a certificate recognized as a cluster member from also being treated as a regular user, does not correctly distinguish between certain error conditions encountered during user lookup. Under certain timing conditions, this can cause the check to be bypassed, granting the connection full internal system privileges. Triggering this issue requires possession of a valid cluster-member TLS certificate, non-default X.509 cluster authentication configuration, and specific conditions during the user cache lookup process. |
|
| CVE-2026-120806 | Nov 10, 2026 |
MongoDB Server Role Drop Cleanup Bypass VulnerabilityA flaw in MongoDB Server's user management commands may lead to incomplete cleanup of role authorization data when roles are dropped from a database. Due to incorrect internal query predicates, the drop operation removes role definitions but fails to remove stale references in user and role documents. If a role with the same name is subsequently recreated with different privileges, previously associated users may silently inherit the new role's privileges without an explicit grant or corresponding audit event. Exploitation requires authenticated access with database administrative privileges on the target database. |
|
| CVE-2026-120805 | Nov 10, 2026 |
MongoDB Queryable Encryption Metadata Write BypassIn MongoDB Server, an authenticated user with insert privileges on a collection could craft a command with specially constructed encryption-related parameters to redirect internal Queryable Encryption metadata writes to metadata belonging to other encrypted collections within the same database. The servers authorization layer validated only the user-facing target collection namespace, while subsequent internal writes derived from client-supplied parameters were performed with elevated internal privileges, bypassing the original callers permission scope. This could allow unauthorized writes into another collections Queryable Encryption metadata, potentially corrupting encrypted index state and compaction operations. |
|
| CVE-2026-120804 | Nov 10, 2026 |
MongoDB Windows SSPI Kerberos Auth DoS via Resource ExhaustionA flaw exists in the server-side SSPI Kerberos authentication handler on Windows Enterprise builds of MongoDB. When processing certain authentication requests, the server fails to properly release an underlying system resource due to an internal tracking error. An unauthenticated user can trigger this by repeatedly sending authentication requests using the Kerberos mechanism, eventually exhausting available resources and causing all subsequent Kerberos authentication attempts to fail. Server restart is required to recover. |
|
| CVE-2026-120803 | Nov 10, 2026 |
MongoDB SBE window function use-after-free (CVE-2026-120803)A use-after-free issue exists in MongoDBs SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline. |
|
| CVE-2026-120959 | Nov 03, 2026 |
MongoDB Atlas SQL ODBC Driver Out-of-Bounds WriteA memory-handling flaw in the MongoDB Atlas SQL ODBC Driver can cause values returned for a query to be written outside the bounds of a buffer provided by the calling application. A party able to influence the values a query returns may cause data to be placed at an unintended location in the client application's memory, which may result in unintended modification of that memory or termination of the client process. Reaching this condition depends on a specific, application-chosen way of requesting several result rows at once. |
|
| CVE-2026-120952 | Nov 03, 2026 |
OOB Write in MongoDB Atlas SQL ODBC DriverAn out-of-bounds write in the MongoDB Atlas SQL ODBC Driver may be triggered when a value of a particular database type is retrieved into a fixed-width client-side target. The driver produces a textual form of the value that is longer than the fixed target the ODBC interface defines, and copies it without limiting the copy to the target's real size. A database user with basic write privileges can influence part of the data written outside the target, which may corrupt memory in the application using the driver and cause that application to terminate unexpectedly. |
|
| CVE-2026-120567 | Nov 03, 2026 |
MongoDB EF Core Provider aggregation pipeline injection (CVE-2026-120567)The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that case the update is sent as an aggregation pipeline, and a caller-supplied string beginning with $ is evaluated as an expression rather than stored as data. A party who can influence such a value may modify or remove fields in the records being updated, or copy other fields of the same record into them. |
|
| CVE-2026-120953 | Nov 03, 2026 |
Atlas SQL JDBC Driver URI Redirect Vulnerability (CVE-2026-120953)A URI redirection weakness exists in the authentication component of the Atlas SQL JDBC Driver. During an interactive sign-in flow the driver accepts endpoint addresses supplied by the remote endpoint it is pointed at without validating their scheme, and passes the resulting address to the local default protocol handler. An unauthenticated remote party that controls the endpoint a user elects to connect to may cause an address of its choosing to be opened on the user's system; user interaction is required. |
|
| CVE-2026-120954 | Nov 03, 2026 |
BSON Library Arithmetic Wraparound in Element Count (Data Integrity)A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements described by an oversized attacker-supplied value. On builds where the platform word size is 32 bits, an application that parses untrusted BSON data can be made to process only a small fraction of the supplied elements while the operation reports success, producing results that disagree with byte-oriented accessors and with 64-bit builds of the same library. No authentication or user interaction is required beyond getting the application to parse the data. The impact is limited to data integrity; memory safety is not affected and no information is disclosed. |
|
| CVE-2026-120955 | Nov 03, 2026 |
MongoDB C Driver GridFS API Crash via Unchecked Operation Result (DoS)The GridFS file download API in the MongoDB C Driver does not check the result of an internal operation under certain error conditions during file retrieval. This can cause the process to terminate when stream operations continue. A user who can influence file download parameters can trigger this condition, which may result in service unavailability for applications using the affected API. |
|
| CVE-2026-120956 | Nov 03, 2026 |
MongoDB C Driver Namespace Field Bypass: Crash & Memory DisclosureThe MongoDB C Driver does not validate the type or format of a namespace field returned by the server in a query response. A MongoDB endpoint that a client application connects to, without needing any credentials, can return a malformed value in that field. This causes the client application process to terminate, and can also cause the driver to read memory outside an allocated buffer and to send a small amount of the application's own uninitialized heap memory back to the endpoint in a follow-up command. The impact is limited to the process that embeds the driver. |
|
| CVE-2026-120684 | Nov 03, 2026 |
MongoDB C Driver GridFS Uninitialized Memory DisclosureA memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application's process, including credentials. |
|
| CVE-2026-120678 | Nov 03, 2026 |
Unbounded mem growth via MongoDB C Driver compressed responses CVE-2026-120678A memory management flaw in the MongoDB C Driver's handling of compressed responses may cause the client library to hold on to memory that is never released. An unauthenticated party that controls the database endpoint a client application connects to may cause repeated, unbounded memory growth in that application, which may result in the application becoming unavailable. No credentials, transport security settings, or user interaction are required. |
|
| CVE-2026-120673 | Nov 03, 2026 |
MongoDB Rust Driver Trace Disclosure Field Values Before Client-Side EncryptionA component of the MongoDB Rust Driver that records diagnostic tracing data can capture command content before automatic client-side field level encryption is applied. In deployments that turn on the optional tracing capability together with automatic in-use encryption, a party with read access to the application's exported trace data may obtain field values that the application designated for encryption, without access to the encryption keys. This may result in unintended disclosure of data. |
|
| CVE-2026-119674 | Nov 03, 2026 |
MongoDB Database Tools 100.0.2<100.20.1 MONGORESTORE URLDecode Collection Name VulnerabilityMongoDB Database Tools mongorestore incorrectly URL-decodes an original collection name read from metadata when the corresponding dump filename has been truncated. A database user who can create and populate a suitably encoded collection can cause a later authorized directory restore to write those documents into a different collection that the user cannot modify directly. When both collection names resolve to the same destination, backed-up documents may be omitted; use of --drop can also replace the unintended destination collection. Exploitation requires an operator to restore the affected collection from a directory dump with write access to the destination. This issue affects MongoDB Database Tools versions 100.0.2 through versions before 100.20.1. |
|
| CVE-2026-119673 | Nov 03, 2026 |
MongoDB Database Tools 100.2.0-<100.20.1: Symlink Traversal in mongofiles get_regexMongoDB Database Tools mongofiles does not resolve existing parent-directory symlinks when validating output paths for get_regex. An unauthorized user who can both upload a GridFS file and place a symlink in the operator's download working directory can cause a later retrieval to create a file containing unauthorized user-controlled data outside that directory, using the operator process's filesystem permissions. The issue can occur with default traversal and overwrite settings. Exploitation requires an operator to retrieve matching files from the affected working directory; the demonstrated default behavior creates a new file rather than overwriting an existing file. This issue affects MongoDB Database Tools versions 100.2.0 through versions before 100.20.1. |
|
| CVE-2026-119672 | Nov 03, 2026 |
MongoDB DB Tools 3.1.4100.20.1: GridFS filename used as stdout may leak dataMongoDB Database Tools mongofiles uses a database-stored GridFS filename as the output destination for get_id when --local is not specified. A user who can modify the file metadata can set the stored filename to '-', causing a later authorized retrieval to write the file contents to standard output instead of a local file. If standard output is captured in a location accessible to that user, this may disclose GridFS content the user cannot read directly. Exploitation requires a higher-privileged operator to retrieve the affected file without an explicit local destination and attacker access to the captured output. This issue affects MongoDB Database Tools from version 3.1.4 through versions before 100.20.1. |
|
| CVE-2026-119675 | Nov 03, 2026 |
MongoDB Datatools 100.4.0<100.20.1: mongorestore Bypass UC Guard Root Account CreationMongoDB Database Tools mongorestore inconsistently handles the system.buckets. prefix when validating collection names in an untrusted dump. A specially crafted collection name can bypass special-collection guards and operator namespace filters, causing a restore to create an unauthorized user-chosen database account, including an account with the root role. Exploitation requires an operator to restore unauthorized user-controlled data using credentials with sufficient user-management privileges on the destination deployment. Excluding the admin namespace alone does not prevent this behavior. This issue affects MongoDB Database Tools versions 100.4.0 through versions before 100.20.1. |
|
| CVE-2026-119179 | Nov 03, 2026 |
MongoDB Node.js Driver: Erroneous Connection Pooling Enables Data ExposureA flaw in the connection management layer of the MongoDB Node.js driver can leave a pooled network connection in the pool for reuse while data from an earlier operation is still outstanding on it. In applications that enable an optional client-side operation timeout, an unauthenticated party that can send ordinary requests to the application may cause database replies to be paired with the wrong requests. This may result in unintended disclosure of other users' records, incorrect operation results being returned, and failures of legitimate requests. |