Skip to main content

MongoDB Server CVE-2026-13066

| EUVDEUVD-2026-47795 HIGH
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-07-22 cna@mongodb.com
7.1
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.5 MEDIUM

Network-reachable and low-complexity, but requires an authenticated user (PR:L) and server-side JS; impact is confidentiality-only memory disclosure, so I:N and A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 22, 2026 - 21:03 EUVD
Analysis Generated
Jul 22, 2026 - 20:33 vuln.today
CVE Published
Jul 22, 2026 - 20:16 cve.org
HIGH 7.1

DescriptionCVE.org

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 affecting deployments that use server-side JavaScript.

AnalysisAI

Information disclosure in MongoDB's server-side JavaScript engine allows authenticated database users to read fragments of internal server process memory. The flaw stems from improper handling of DBPointer objects during BSON serialization, causing uninitialized or adjacent memory contents to be returned to the client. Only deployments that enable server-side JavaScript are affected; no public exploit has been identified at time of analysis and it is not listed in CISA KEV.

Technical ContextAI

MongoDB supports server-side JavaScript execution (via features such as $where, mapReduce, and the eval-style engine) to run application logic inside the database process. BSON is MongoDB's binary serialization format, and DBPointer is a legacy/deprecated BSON type (a reference to another collection and ObjectId). The root cause is classified as CWE-843 (Type Confusion): the serializer mishandles DBPointer objects when producing the BSON returned to the client, so bytes that were never intended for the response - internal process memory - are copied into the result buffer. Because the leak originates from the trusted server process address space, disclosed memory could contain sensitive material such as buffers from other operations.

RemediationAI

Apply the MongoDB-released fix once the patched maintenance versions are published; refer to the vendor ticket https://jira.mongodb.org/browse/SERVER-127694 for the exact fixed build numbers, which are not stated in the available data (do not assume a version). As an immediate compensating control, disable server-side JavaScript execution by starting mongod with security.javascriptEnabled set to false (or the --noscripting option), which eliminates the vulnerable code path entirely; the trade-off is that $where queries, mapReduce, and $function/$accumulator aggregation operators will no longer work, so validate that no application relies on them first. Additionally, tighten role-based access control so that only trusted, least-privilege accounts can issue queries, since exploitation requires authenticated access.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2021-20333 MEDIUM POC
5.3 Jul 23

Sending specially crafted commands to a MongoDB Server may result in artificial log entries being generated or for log e

CVE-2026-13072 CRITICAL
9.2 Jul 22

Memory corruption in MongoDB standalone mongod servers running with compute mode enabled allows remote attackers to cras

CVE-2017-15535 CRITICAL
9.1 Nov 01

MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting, networkMessageCompr

CVE-2020-2268 HIGH
8.8 Sep 16

A cross-site request forgery (CSRF) vulnerability in Jenkins MongoDB Plugin 1.3 and earlier allows attackers to gain acc

Share

CVE-2026-13066 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy