MongoDB Inc

61 CVEs across 18 MongoDB Inc products. Browse MongoDB Inc vulnerabilities, severities, and proof-of-concept exploits.

MongoDB Inc products with known CVEs

ProductCVEs
MongoDB Server41
MongoDB C Driver4
Mongosh4
Libbson3
MongoDB Compass3
MongoDB PHP Driver2
Mongocryptd1
Mongo Crypt V1.so1
MongoDB Atlas Kubernetes Operator1
MongoDB C++ Driver1
MongoDB Connector For Bi1
MongoDB Go Driver1
MongoDB .Net/c# Driver1
MongoDB Node.js Driver1
MongoDB Ruby Driver1
MongoDB Rust Driver1
MongoDB Swift Driver1
Pymongo1
MongoDB Inc CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-4359Low2.02026-03-17A compromised third party cloud server or man-in-the-middle attacker could send a malformed HTTP response and cause a crash in applications using the MongoDB C…
CVE-2026-4358Medium6.42026-03-17A specially crafted aggregation query with $lookup by an authenticated user with write privileges can cause a double-free or use-after-free memory issue in the…
CVE-2026-4148High8.82026-03-17A use-after-free vulnerability can be triggered in sharded clusters by an authenticated user with the read role who issues a specially crafted $lookup or $grap…
CVE-2026-4147Medium6.52026-03-17An authenticated user with the read role may read limited amounts of uninitialized stack memory via specially-crafted issuances of the filemd5 command.
CVE-2026-2303Medium6.52026-02-10The mongo-go-driver repository contains CGo bindings for GSSAPI (Kerberos) authentication on Linux and macOS. The C wrapper implementation contains a heap out-…
CVE-2026-2302Medium6.52026-02-10Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.
CVE-2026-25613Medium6.52026-02-10An authorized user may disable the MongoDB server by issuing a query against a collection that contains an invalid compound wildcard index.
CVE-2026-25610Medium6.52026-02-10An authorized user may trigger a server crash by running a $geoNear pipeline with certain invalid index hints.
CVE-2026-25609Medium5.42026-02-10Incorrect validation of the profile command may result in the determination that a request altering the 'filter' is read-only.
CVE-2026-1850Medium6.52026-02-10Complex queries can cause excessive memory usage in MongoDB Query Planner resulting in an Out-Of-Memory Crash.
CVE-2026-1849Medium6.52026-02-10MongoDB Server may experience an out-of-memory failure while evaluating expressions that produce deeply nested documents. The issue arises in recursive functio…
CVE-2026-1848High7.52026-02-10Connections received from the proxy port may not count towards total accepted connections, resulting in server crashes if the total number of connections excee…
CVE-2026-1847Medium6.52026-02-10Inserting certain large documents into a replica set could lead to replica set secondaries not being able to fetch the oplog from the primary. This could stall…
CVE-2026-25612Medium6.52026-02-10The internal locking mechanism of the MongoDB server uses an internal encoding of the resources in order to choose what lock to take. Collections may inadverte…
CVE-2026-25611High7.52026-02-10A series of specifically crafted, unauthenticated messages can exhaust available memory and crash a MongoDB server.
CVE-2025-115352025-10-08MongoDB Connector for BI installation via MSI on Windows leaves ACLs unset on custom install directories allows Privilege Escalation.This issue affects MongoDB…
CVE-2025-10491High7.82025-09-15The MongoDB Windows installation MSI may leave ACLs unset on custom installation directories allowing a local attacker to introduce executable code to MongoDB'…
CVE-2025-10061Medium6.52025-09-05An authorized user can cause a crash in the MongoDB Server through a specially crafted $group query. This vulnerability is related to the incorrect handling of…
CVE-2025-10060Medium6.52025-09-05MongoDB Server may allow upsert operations retried within a transaction to violate unique index constraints, potentially causing an invariant failure and serve…
CVE-2025-10059Medium6.52025-09-05An improper setting of the lsid field on any sharded query can cause a crash in MongoDB routers. This issue occurs when a generic argument (lsid) is provided i…
CVE-2025-7259Medium6.52025-07-07An authorized user can issue queries with duplicate _id fields, that leads to unexpected behavior in MongoDB Server, which may result to crash. This issue can…
CVE-2025-6714High7.52025-07-07MongoDB Server's mongos component can become unresponsive to new connections due to incorrect handling of incomplete data. This affects MongoDB when configured…
CVE-2025-6713High7.72025-07-07An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCu…
CVE-2025-6712Medium6.52025-07-07MongoDB Server may be susceptible to disruption caused by high memory usage, potentially leading to server crash. This condition is linked to inefficiencies in…
CVE-2025-6711Medium4.42025-07-07An issue has been identified in MongoDB Server where unredacted queries may inadvertently appear in server logs when certain error conditions are encountered…
CVE-2025-6710High7.52025-06-26MongoDB Server may be susceptible to stack overflow due to JSON parsing mechanism, where specifically crafted JSON inputs may induce unwarranted levels of recu…
CVE-2025-6709High7.52025-06-26The MongoDB Server is susceptible to a denial of service vulnerability due to improper handling of specific date values in JSON input when using OIDC authentic…
CVE-2025-6707Medium4.22025-06-26Under certain conditions, an authenticated user request may execute with stale privileges following an intentional change by an authorized administrator. This…
CVE-2025-6706Medium5.02025-06-26An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have author…
CVE-2025-3085High8.12025-04-01A MongoDB server under specific conditions running on Linux with TLS and CRL revocation status checking enabled, fails to check the revocation status of the in…
CVE-2025-3084Medium6.52025-04-01When run on commands with certain arguments set, explain may fail to validate these arguments before using them. This can lead to crashes in router servers. Th…
CVE-2025-3083High7.52025-04-01Specifically crafted MongoDB wire protocol messages can cause mongos to crash during command validation. This can occur without using an authenticated connecti…
CVE-2025-3082Low3.12025-04-01A user authorized to access a view may be able to alter the intended collation, allowing them to access to a different or unintended view of underlying data. T…
CVE-2025-0755High8.42025-03-18The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final…
CVE-2025-1756High7.52025-02-27mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated pr…
CVE-2025-1755High7.52025-02-27MongoDB Compass may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with ele…
CVE-2025-1693Low3.92025-02-27The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control charac…
CVE-2025-1692Medium6.32025-02-27The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate them to paste text…
CVE-2025-1691High7.62025-02-27The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocomplet…
CVE-2024-10921Medium6.82024-11-14An authorized user may trigger crashes or receive the contents of buffer over-reads of Server memory by issuing specially crafted requests that construct malfo…
CVE-2024-8013Low2.22024-10-28A bug in query analysis of certain complex self-referential $lookup subpipelines may result in literal values in expressions for encrypted fields to be sent to…
CVE-2024-8305Medium6.52024-10-21prepareUnique index may cause secondaries to crash due to incorrect enforcement of index constraints on secondaries, where in extreme cases may cause multiple…
CVE-2024-8654Medium5.02024-09-10MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are called in internal aggregation stage. This i…
CVE-2024-8207Medium6.42024-08-27In certain highly specific configurations of the host system and MongoDB server binary installation on Linux Operating Systems, it may be possible for a uninte…
CVE-2024-6384Medium5.32024-08-13"Hot" backup files may be downloaded by underprivileged users, if they are capable of acquiring a unique backup identifier. This issue affects MongoDB Enterpri…
CVE-2024-7553High7.32024-08-07Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underlying operating systems is Windows. This…
CVE-2024-6383Medium5.32024-07-03The bson_string_append function in MongoDB C Driver may be vulnerable to a buffer overflow where the function might attempt to allocate too small of buffer and…
CVE-2024-6382Medium6.42024-07-02Incorrect handling of certain string inputs may result in MongoDB Rust driver constructing unintended server commands. This may cause unexpected application be…
CVE-2024-6381Medium4.02024-07-02The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative o…
CVE-2024-6376High7.02024-07-01MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connectio…
CVE-2024-6375Medium5.42024-07-01A command for refining a collection shard key is missing an authorization check. This may cause the command to run directly on a shard, leading to either degra…
CVE-2024-5629Medium4.72024-06-05An out-of-bounds read in the 'bson' module of PyMongo 4.6.2 or earlier allows deserialization of malformed BSON provided by a Server to raise an exception whic…
CVE-2024-3374Medium5.32024-05-14An unauthenticated user can trigger a fatal assertion in the server while generating ftdc diagnostic metrics due to attempting to build a BSON object that exce…
CVE-2024-3372High7.52024-05-14Improper validation of certain metadata input may result in the server not correctly serialising BSON. This can be performed pre-authentication and may cause u…
CVE-2024-3371High7.12024-04-24MongoDB Compass may accept and use insufficiently validated input from an untrusted external source. This may cause unintended application behavior, including…
CVE-2024-1351High8.82024-03-07Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to su…
CVE-2023-0437Medium5.32024-01-12When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All Mo…
CVE-2023-0436Medium4.52023-11-07The affected versions of MongoDB Atlas Kubernetes Operator may print sensitive information like GCP service account keys and API integration secrets while DEBU…
CVE-2021-32050Medium4.22023-08-29Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published ev…
CVE-2023-1409Medium5.32023-08-23If the MongoDB Server running on Windows or macOS is configured to use TLS with a specific set of configuration options that are already known to work securely…
CVE-2022-48282Medium6.62023-02-21Under very specific circumstances (see Required configuration section below), a privileged user is able to cause arbitrary code to be executed which may cause…