CyberSecBulletin

MongoDB vulnerabilities

We track 134 vulnerabilities in MongoDB products across 40 products. 134 are rated high or critical, and 1 has been exploited in real attacks. The most recent was published on November 13, 2026.

134vulnerabilities
9critical
125high
1exploited
7.9average CVSS score

Latest MongoDB vulnerabilities

  • 7.1 High severity

    MongoDB Server: Integer Underflow (Wrap or Wraparound)

    CVE-2026-18687MongoDB

    MongoDB Server's handling of a Queryable Encryption maintenance operation did not properly validate certain request parameters against the collection's encrypted field configuration before use. An authenticated user with readWrite privileges could submit a spe

  • 7.8 High severity

    MongoDB Compass: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-14881MongoDB

    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 se

  • 7.7 High severity

    MongoDB Server: Missing Authorization

    CVE-2026-13078MongoDB

    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.

  • 7.1 High severity

    MongoDB Server: Out-of-bounds Read

    CVE-2026-13077MongoDB

    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 c

  • 8.1 High severity

    MongoDB Server: Heap-based Buffer Overflow

    CVE-2026-13072MongoDB

    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 behavio

  • 8.1 High severity

    MongoDB Server: Reliance on Untrusted Inputs in a Security Decision

    CVE-2026-13059MongoDB

    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, up

  • 8.8 High severity

    MongoDB: Use After Free

    CVE-2026-11933MongoDB

    A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents to JavaScript arrays. An authenticated user with read privileges who is able to run server-side JavaScript (for example, via $where or $funct

  • 8.1 High severity

    MongoDB Server: Out-of-bounds Write

    CVE-2026-9753MongoDB

    The $_internalApplyOplogUpdate aggregation pipeline stage can be used to execute a document diff containing a malformed binary diff to return memory out-of-bounds or crash the server. $_internalApplyOplogUpdate can be executed by any authenticated user with ac

  • 7.5 High severity

    MongoDB Server: Uncontrolled Recursion

    CVE-2026-9740MongoDB

    A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a specially crafted message. The BSON validator's handling of certain nested binary data structures permits uncontrolled mutual recu

  • 7.1 High severity

    C Driver: Improper Validation of Specified Index, Position, or Offset in Input

    CVE-2026-9100MongoDB

    The MongoDB C Driver's legacy GridFS API accepts malformed file metadata from the database without adequate validation. Crafted documents in a GridFS collection may cause any application that reads those files via the legacy API to either crash (via a division

  • 7.5 High severity

    PHP Driver: Uncontrolled Recursion

    CVE-2026-6811MongoDB

    Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply nested BSON documents in unusual circumstances when the source of these BSON documents is not MongoDB Server.

  • 8.8 High severity

    MongoDB Server: Use After Free

    CVE-2026-8201MongoDB

    A use-after-free vulnerability exists in MongoDB's Field-Level Encryption (FLE) query analysis component, affecting client-side uses of mongocryptd and crypt_shared. Triggering this vulnerability requires control over the structure of a client's FLE-related qu

  • 8.8 High severity

    MongoDB Server: Out-of-bounds Write

    CVE-2026-8053MongoDB

    An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write privileges to trigger an out-of-bounds memory write in the mongod process. The issue results from an inconsistency in the internal field-name-to

  • 7.2 High severity

    Ops Manager: Improper Neutralization of Special Elements used in a Command

    CVE-2026-8431MongoDB

    An administrative user with access to configure webhooks can execute arbitrary commands by configuring and then triggering webhooks containing specific FreeMarker template syntax. This issue affects all MongoDB Ops Manager 7.0 versions and MongoDB Ops Manager

  • 7.8 High severity

    MongoDB C Driver: Out-of-bounds Write

    CVE-2026-6691MongoDB

    The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a M

  • 7.5 High severity

    MongoDB Server: Integer Underflow (Wrap or Wraparound)

    CVE-2026-6914MongoDB

    Computing the MD5 checksum of a malformed BSON object under specific conditions may cause loss of availability in MongoDB server. This issue affects all MongoDB Server v8.2 versions, all MongoDB Server v8.1 versions, MongoDB Server v8.0 versions prior to 8.0.2

  • 7.5 High severity

    The bson_validate function may return early on specific inputs and incorrectly report success.

    CVE-2026-6231MongoDB

    The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. The

  • 7.5 High severity

    MongoDB Server: Double Free

    CVE-2026-4358MongoDB

    A 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 slot-based execution (SBE) engine when an in-memory hash table is spilled to disk.

  • 8.8 High severity

    MongoDB Server: Use After Free

    CVE-2026-4148MongoDB

    A 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 $graphLookup aggregation pipeline.

  • 7.5 High severity

    MongoDB Server: Uncontrolled Recursion

    CVE-2026-1849MongoDB

    MongoDB Server may experience an out-of-memory failure while evaluating expressions that produce deeply nested documents. The issue arises in recursive functions because the server does not periodically check the depth of the expression.

  • 7.5 High severity

    MongoDB Server: Allocation of Resources Without Limits or Throttling

    CVE-2026-1848MongoDB

    Connections received from the proxy port may not count towards total accepted connections, resulting in server crashes if the total number of connections exceeds available resources. This only applies to connections accepted from the proxy port, pending the pr

  • 7.5 High severity

    MongoDB Server: Allocation of Resources Without Limits or Throttling

    CVE-2026-1847MongoDB

    Inserting 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 replication inside the replica set leading to server crash.

  • 7.5 High severity

    MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency Exploited

    CVE-2025-14847MongoDBEPSS 83.2%

    Mismatched length fields in Zlib compressed protocol headers may allow a read of uninitialized heap memory by an unauthenticated client. This issue affects all MongoDB Server v7.0 prior to 7.0.28 versions, MongoDB Server v8.0 versions prior to 8.0.17, MongoDB

  • 7.5 High severity

    MongoDB Server: Reachable Assertion

    CVE-2025-13644MongoDB

    MongoDB Server may experience an invariant failure during batched delete operations when handling documents. The issue arises when the server mistakenly assumes the presence of multiple documents in a batch based solely on document size exceeding BSONObjMaxSiz

  • 7.8 High severity

    BI Connector ODBC driver: Incorrect Default Permissions

    CVE-2025-12100MongoDB

    Incorrect Default Permissions vulnerability in MongoDB BI Connector ODBC driver allows Privilege Escalation.This issue affects BI Connector ODBC driver: from 1.0.0 through 1.4.6.

  • 7.8 High severity

    Atlas SQL ODBC driver: Incorrect Default Permissions

    CVE-2025-11575MongoDB

    Incorrect Default Permissions vulnerability in MongoDB Atlas SQL ODBC driver on Windows allows Privilege Escalation.This issue affects MongoDB Atlas SQL ODBC driver: from 1.0.0 through 2.0.0.

  • 7.5 High severity

    Rust Driver: Improper Certificate Validation

    CVE-2025-11695MongoDB

    When tlsInsecure=False appears in a connection string, certificate validation is disabled. This vulnerability affects MongoDB Rust Driver versions prior to v3.2.5

  • 8.8 High severity

    MongoDB Connector for BI: Incorrect Default Permissions

    CVE-2025-11535MongoDB

    MongoDB Connector for BI installation via MSI on Windows leaves ACLs unset on custom install directories allows Privilege Escalation.This issue affects MongoDB Connector for BI: from 2.0.0 through 2.14.24.

  • 7.8 High severity

    MongoDB Server: Improper Access Control

    CVE-2025-10491MongoDB

    The MongoDB Windows installation MSI may leave ACLs unset on custom installation directories allowing a local attacker to introduce executable code to MongoDB's process via DLL hijacking. This issue affects MongoDB Server v6.0 version prior to 6.0.25, MongoDB

  • 7.5 High severity

    MongoDB Server: Operation on a Resource after Expiration or Release

    CVE-2025-10060MongoDB

    MongoDB Server may allow upsert operations retried within a transaction to violate unique index constraints, potentially causing an invariant failure and server crash during commit. This issue may be triggered by improper WriteUnitOfWork state management. This

  • 7.5 High severity

    MongoDB Server: Uncontrolled Resource Consumption

    CVE-2025-6714MongoDB

    MongoDB Server's mongos component can become unresponsive to new connections due to incorrect handling of incomplete data. This affects MongoDB when configured with load balancer support. This issue affects MongoDB Server v6.0 prior to 6.0.23, MongoDB Server v

  • 7.5 High severity

    MongoDB Server: Uncontrolled Recursion

    CVE-2025-6710MongoDB

    MongoDB Server may be susceptible to stack overflow due to JSON parsing mechanism, where specifically crafted JSON inputs may induce unwarranted levels of recursion, resulting in excessive stack space consumption. Such inputs can lead to a stack overflow that

  • 7.5 High severity

    The MongoDB Server is susceptible to a denial of service vulnerability due to improper…

    CVE-2025-6709MongoDB

    The MongoDB Server is susceptible to a denial of service vulnerability due to improper handling of specific date values in JSON input when using OIDC authentication. This can be reproduced using the mongo shell to send a malicious JSON payload leading to an in

  • 8.8 High severity

    MongoDB Server: Use After Free

    CVE-2025-6706MongoDB

    An 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 authorization to shut down a server. The crash is triggered on affected versions by issuing an aggregation

  • 9.8 Critical severity

    BSON::XS: Heap-based Buffer Overflow

    CVE-2025-40906MongoDB

    BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities. Those include CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. BSON-XS was the official Perl XS imp

  • 9.8 Critical severity

    MongoDB Server: Improper Check for Certificate Revocation

    CVE-2025-3085MongoDB

    A MongoDB server under specific conditions running on Linux with TLS and CRL revocation status checking enabled, fails to check the revocation status of the intermediate certificates in the peer's certificate chain. In cases of MONGODB-X509, which is not enabl

  • 7.5 High severity

    MongoDB Server: Uncaught Exception

    CVE-2025-3083MongoDB

    Specifically crafted MongoDB wire protocol messages can cause mongos to crash during command validation. This can occur without using an authenticated connection. This issue affects MongoDB v5.0 versions prior to 5.0.31, MongoDB v6.0 versions prior to 6.0.20 a

  • 7.5 High severity

    libbson: Heap-based Buffer Overflow

    CVE-2025-0755MongoDB

    The 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 BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation faul

  • 7.8 High severity

    mongosh: Untrusted Search Path

    CVE-2025-1756MongoDB

    mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored in C:\node_modules\. This issue affects mongosh prior to 2.3.0

  • 7.8 High severity

    MongoDB Compass: Untrusted Search Path

    CVE-2025-1755MongoDB

    MongoDB Compass may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privileges, when a crafted file is stored in C:\node_modules\. This issue affects MongoDB Compa