MongoDB

400 CVEs in 73 MongoDB products, including MongoDB, MongoDB Server, C Driver. Newest: CVE-2026-126818 (2026-11-13).

MongoDB products with known CVEs

ProductCVEs
MongoDB189
MongoDB Server121
C Driver21
C Driver19
C# Driver19
Bi Connector8
Bi Connector8
Bi Connector Odbc Driver8
C\# Driver8
Compass8
Mongoid8
PHP Driver8
Bi Connector Odbc Driver7
Libmongocrypt7
Ops Manager7
C++ Driver5
Database Tools5
Go Driver5
PHP Driver5
Python Driver5
Rust Driver5
Rust Driver5
C\+\+ Driver4
Go Driver4
Java Driver4
Laravel MongoDB (PHP)4
Mongosh4
Atlas SQL Odbc Driver3
Bi Connector Transition Readiness Report3
Entity Framework Core Provider3
Java Driver3
Laravel MongoDB3
Libbson3
Mongosql Transition Readiness Tool3
Node.js Driver3
Ops Manager3
Ruby Driver3
Atlas SQL Jdbc Driver2
Bson2
Js-Bson2
Ops Manager Server2
PHP Library2
Python Driver2
Schema Builder Cli2
SQL Schema Builder Cli2
Atlas Kubernetes Operator1
Atlas SQL1
Bson::xs1
C\+\+1
Database Tools1

MongoDB CVEs with public exploits

CVESeverityExploitation evidencePublished
CVE-2025-14847High 7.5CISA KEV, Metasploit, 47 PoC repos2025-12-19
CVE-2023-0342Low 3.1Metasploit2023-06-09
CVE-2013-1892Metasploit2013-10-01
CVE-2026-126837High 7.41 PoC repo2026-11-12
CVE-2026-118383Critical 9.01 PoC repo2026-11-10
CVE-2026-113870High 8.82 PoC repos2026-10-21
CVE-2026-13078High 7.71 PoC repo2026-07-22
CVE-2026-8053High 8.81 PoC repo2026-05-13
CVE-2025-6713High 7.71 PoC repo2025-07-07
MongoDB CVEs — newest first (page 1 of 4)
CVESeverityScorePublishedSummary
CVE-2026-126818Medium6.52026-11-13A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. V…
CVE-2026-126817Medium6.52026-11-13A 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…
CVE-2026-126982High7.52026-11-13A 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…
CVE-2026-126839Medium4.22026-11-13A deserialization type-restriction control in the BSON serialization component can be bypassed because the check used to recognize a class of compiler-generate…
CVE-2026-126792Medium4.72026-11-13A 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…
CVE-2026-126823High7.02026-11-12A 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 wi…
CVE-2026-126838Medium5.52026-11-12A MongoDB Rust Driver component that holds client-side field level encryption settings includes key management service credential material in its diagnostic fo…
CVE-2026-126837High7.42026-11-12A 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 mong…
CVE-2026-126835Medium6.52026-11-12The MongoDB Node.js driver does not consistently enforce its permitted-host restriction during OIDC authentication. A bearer token produced by the embedding ap…
CVE-2026-120828High7.52026-11-10A 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 t…
CVE-2026-120826Medium6.52026-11-10An authorization flaw in the aggregation and view-definition handling of sharded deployments may allow a user holding only basic read-write privileges on a sin…
CVE-2026-120825Medium6.52026-11-10An authorization weakness in the aggregation framework of MongoDB Server may allow an authenticated user holding only basic database privileges to read the con…
CVE-2026-120824High8.82026-11-10A 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. Th…
CVE-2026-120823Medium4.32026-11-10A missing authorization check in the aggregation framework of MongoDB Server may allow a user holding any valid credentials, including an account with no assig…
CVE-2026-120822Medium6.72026-11-10MongoDB Server may omit an authorization check on the resource that a replication-related administrative command actually targets, because that check is condit…
CVE-2026-120821Medium6.52026-11-10A use-after-free in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated in an aggregation sub-pipeline. The condition…
CVE-2026-120820Medium4.32026-11-10MongoDB Server maintains an in-memory table of per-namespace statistics for operations that carry encrypted-field information. Entries are created for any name…
CVE-2026-120819Medium4.32026-11-10A memory-management flaw in the server-side JavaScript execution component of MongoDB Server can allow an authenticated user holding only read privileges to ca…
CVE-2026-120818High7.12026-11-10A 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…
CVE-2026-120817Medium6.52026-11-10A race condition in the schema validation component of MongoDB Server can occur when concurrent writes are checked against a collection validator that uses geo…
CVE-2026-120816Medium4.32026-11-10A 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 restrict…
CVE-2026-118383Critical9.02026-11-10A 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 cau…
CVE-2026-120815High8.42026-11-10An incorrect authorization check in the MongoDB Server authorization subsystem may allow an unauthenticated party with local host access to obtain administrati…
CVE-2026-120814High7.22026-11-10An improper privilege management issue in the sharding subsystem of MongoDB Server may allow a user holding certain shard-level administrative privileges to ca…
CVE-2026-120813Medium5.92026-11-10An issue in MongoDB Server's client-side field-level encryption (CSFLE) schema processing component allows encryption metadata to be silently dropped during sc…
CVE-2026-120812Medium6.52026-11-10An issue in MongoDB Server's query processing component allows an authenticated user with read privileges to cause a denial of service. Uncontrolled recursion…
CVE-2026-120811Medium5.92026-11-10A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an ear…
CVE-2026-120810Medium6.52026-11-10An issue in MongoDB server’s aggregation framework allows an authenticated user with read privileges to cause a denial of service by sending specially crafted…
CVE-2026-120809Medium6.82026-11-10A use-after-free read issue exists in MongoDB’s SBE (Slot-Based Execution) engine when processing aggregation pipelines with $unwind on time-series collections…
CVE-2026-120808High7.42026-11-10An issue exists in MongoDB's macOS TLS client implementation where certificate chain-of-trust validation is bypassed for outbound connections to IPv6-addressed…
CVE-2026-120807Medium6.62026-11-10A flaw in MongoDB’s X.509 cluster-membership authentication guard could allow a holder of a cluster-member certificate to gain elevated internal privileges whe…
CVE-2026-120806Medium5.52026-11-10A 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 in…
CVE-2026-120805Medium4.32026-11-10In MongoDB Server, an authenticated user with insert privileges on a collection could craft a command with specially constructed encryption-related parameters…
CVE-2026-120804High7.52026-11-10A flaw exists in the server-side SSPI Kerberos authentication handler on Windows Enterprise builds of MongoDB. When processing certain authentication requests…
CVE-2026-120803High7.12026-11-10A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregat…
CVE-2026-120959Low3.72026-11-03A 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…
CVE-2026-120952High7.12026-11-03An 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-…
CVE-2026-120567Medium5.42026-11-03The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a sett…
CVE-2026-120956High7.12026-11-03The 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 app…
CVE-2026-120955High7.52026-11-03The 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. T…
CVE-2026-120954Low3.72026-11-03A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements descri…
CVE-2026-120953Medium4.32026-11-03A URI redirection weakness exists in the authentication component of the Atlas SQL JDBC Driver. During an interactive sign-in flow the driver accepts endpoint…
CVE-2026-120684Medium6.52026-11-03A 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 cont…
CVE-2026-120678High7.52026-11-03A 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. A…
CVE-2026-120673Medium5.52026-11-03A component of the MongoDB Rust Driver that records diagnostic tracing data can capture command content before automatic client-side field level encryption is…
CVE-2026-119675High8.62026-11-03MongoDB Database Tools mongorestore inconsistently handles the system.buckets. prefix when validating collection names in an untrusted dump. A specially crafte…
CVE-2026-119674Low3.72026-11-03MongoDB Database Tools mongorestore incorrectly URL-decodes an original collection name read from metadata when the corresponding dump filename has been trunca…
CVE-2026-119673Low2.82026-11-03MongoDB Database Tools mongofiles does not resolve existing parent-directory symlinks when validating output paths for get_regex. An unauthorized user who can…
CVE-2026-119672Medium4.82026-11-03MongoDB 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 mod…
CVE-2026-119179High7.02026-11-03A 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…
CVE-2026-116641Medium6.82026-10-28The DB Tools rely on the TLS implementation in Golang’s standard library, which generally uses the system CA store. However, the crypto/x509 package also has i…
CVE-2026-118581Medium6.52026-10-28A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of…
CVE-2026-118510High8.82026-10-28A type-handling flaw in the relationship query building of this MongoDB integration library can cause a check for the absence of a related record to be compile…
CVE-2026-114655Medium5.92026-10-22libmongocrypt builds requests to external key management services (AWS, Azure and GCP) by inserting values from key vault documents, KMS provider configuration…
CVE-2026-114654Medium6.52026-10-22A numeric-type conversion flaw in the BSON handling library of the MongoDB C# Driver allows an out-of-range binary subtype value supplied through untrusted tex…
CVE-2026-114653Medium6.52026-10-22A client-side encryption schema construction component in the MongoDB C# Driver places caller-supplied field identifiers into a position that is interpreted as…
CVE-2026-114652Medium6.52026-10-22A data-query-logic neutralization weakness in the update-statement construction component of the MongoDB C# Driver can cause application-supplied values to be…
CVE-2026-114651Medium4.02026-10-22A memory-handling weakness in the BSON deserialization component of the MongoDB C# Driver may cause data left over from previously processed content to be retu…
CVE-2026-114650Medium5.92026-10-22A flaw in the client-side encryption support of the MongoDB .NET/C# driver can cause data designated for client-side field-level encryption to be written witho…
CVE-2026-114649Medium6.82026-10-22The MongoDB C# Driver compares TLS client certificates by issuer and serial number only when deciding whether two clients can share cached connections. In an a…
CVE-2026-114648High7.62026-10-22The MongoDB C# Driver does not neutralize dot and dollar characters in dictionary keys, field names and array-filter identifiers used in LINQ queries before pl…
CVE-2026-114647Medium4.32026-10-22The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace ope…
CVE-2026-114646Medium6.52026-10-22A data-validation flaw exists in the BSON handling and binary serialization path of the MongoDB C# Driver. When an application constructs a raw or lazy BSON do…
CVE-2026-114645Medium5.22026-10-22A 32-bit integer wraparound in the MongoDB C Driver's Windows-only Kerberos/SSPI authentication code can cause an undersized heap buffer to be allocated when a…
CVE-2026-114644Medium5.92026-10-22The MongoDB C# Driver's BSON library contains an uncontrolled resource consumption weakness in its deserialization handling of one BSON value type. An applicat…
CVE-2026-114643Medium5.42026-10-22The MongoDB C# Driver writes GeoJSON extra members without checking whether their names collide with reserved GeoJSON members such as type and coordinates. An…
CVE-2026-113870High8.82026-10-21MongoDB Compass improperly escapes certain BSON values when converting a stored view’s aggregation pipeline into editable source. When a user connects to a Mon…
CVE-2026-96299Medium6.52026-10-13A security issue was discovered in MongoDB mongos (the sharded cluster router) where an authenticated user with readWrite privileges could crash the mongos pro…
CVE-2026-96297Medium6.52026-10-13Use of freed memory in the aggregation feature of MongoDB Server can cause the server to read data from a memory area after it has been released. When an inter…
CVE-2026-104005Medium6.52026-10-13A security issue was discovered in MongoDB mongos (the sharded cluster router) where an authenticated user with readWrite privileges could crash the mongos pro…
CVE-2026-104004Medium6.52026-10-13MongoDB Server's collection validation feature may not properly handle certain expressions stored in a validator. In some cases, this can cause the server proc…
CVE-2026-103965Medium5.42026-10-13An issue in MongoDB Server's aggregation framework can cause certain constant values to be handled incorrectly during internal query rewriting. Under certain c…
CVE-2026-87110Medium5.32026-10-09An unauthenticated user with network access to the Ops Manager web port can repeatedly request monitoring endpoints that perform costly work without rate limit…
CVE-2026-87109Medium5.32026-10-09An authenticated Ops Manager organization member can retrieve another member's pending authenticator enrollment seed through user-listing endpoints while that…
CVE-2026-87108Low3.12026-10-09An authenticated Ops Manager user with a read-only project role can retrieve a daily host monitoring record associated with a different project when they posse…
CVE-2026-106435Medium5.12026-10-08The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression e…
CVE-2026-106436Medium4.82026-10-08The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an in…
CVE-2026-106432Low3.62026-10-08The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4…
CVE-2026-107325Medium5.92026-10-08Improper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray…
CVE-2026-107324Medium5.92026-10-08An integer overflow in BSON value-length handling in the MongoDB Go Driver can cause a runtime panic when an application validates or accesses a malformed BSON…
CVE-2026-106438Medium4.02026-10-08An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of reje…
CVE-2026-106437Medium6.22026-10-08The BSON buffer-reservation API in the MongoDB C Driver can record a length smaller than the five-byte BSON minimum. Later append or comparison operations can…
CVE-2026-106434Medium4.32026-10-08The explicit decryption component of MongoDB libmongocrypt can return an unrecognized encrypted payload unchanged instead of returning a decryption error. An a…
CVE-2026-106433High8.82026-10-08Improper state management in MongoDB libmongocrypt can cause provider-specific data to be treated as an incompatible type when cleaning up a key document conta…
CVE-2026-106431Medium5.72026-10-08An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at…
CVE-2026-106430Medium5.92026-10-08The MongoDB C++ Driver discards content after an embedded NUL byte in certain field and collection names accepted by the collection API. This can cause the dri…
CVE-2026-106429Medium6.52026-10-08An integer underflow in the KMS endpoint-parsing logic of MongoDB libmongocrypt can cause an allocation failure that terminates the application process. This c…
CVE-2026-106428Low3.72026-10-08An out-of-bounds read in SCRAM authentication response parsing in the MongoDB C Driver can read one byte beyond a fixed-size buffer when processing a malformed…
CVE-2026-96749High8.42026-09-24An integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension may occur when a single document is built f…
CVE-2026-96748Medium6.52026-09-24PyMongo's connection string parsing decodes percent-encoded characters in the host portion before the host list is separated on its delimiters. When an applica…
CVE-2026-96747Medium5.02026-09-24The client-side field level encryption support in the MongoDB Python Driver can treat a key management endpoint value ending in ".sock" as a local Unix domain…
CVE-2026-96750High7.12026-09-24MongoDB Compass can interpolate a database name without escaping into the initial input of its embedded MongoDB shell when a user opens the shell from that dat…
CVE-2026-96746Medium6.52026-09-24An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the respo…
CVE-2026-96745Medium5.62026-09-24Deserialization of untrusted data in the command monitoring support of the MongoDB PHP Driver can cause class names embedded in document content to be honored…
CVE-2026-96744High7.12026-09-24Improper neutralization of special elements in data query logic in the cache lock implementation of the MongoDB integration for Laravel can cause a caller-supp…
CVE-2026-93764Medium6.52026-09-18Mongoid may omit encryption rules for fields declared on embedded models when generating the client-side field-level encryption schema. Applications that enabl…
CVE-2026-93763Medium6.52026-09-18A protection mechanism failure in the object-document mapper's encryption configuration generation can cause fields that an application declared for client-sid…
CVE-2026-93762Critical9.82026-09-18Mongoid contains an unsafe reflection weakness in the query path used for embedded documents. An application that passes an externally supplied field name to c…
CVE-2026-93761High7.52026-09-18An inefficient regular expression complexity issue in the in-memory query evaluation component of the Mongoid library may allow an unauthenticated party to cau…
CVE-2026-93760High8.22026-09-18Mongoid does not restrict which query operators may come from caller-supplied filter data when an application hands that data to its query-building methods. In…