MongoDB Improper DBPointer JSON Serialization Can Leak Internal Memory
CVE-2026-13066 Published on July 22, 2026
Server-Side JavaScript DBPointer BSON Serialization Memory Disclosure
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.
Vulnerability Analysis
CVE-2026-13066 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is an Object Type Confusion Vulnerability?
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
CVE-2026-13066 has been classified to as an Object Type Confusion vulnerability or weakness.
Products Associated with CVE-2026-13066
Want to know whenever a new CVE is published for MongoDB? stack.watch will email you.
Affected Versions
MongoDB Server:- Version 7.0 and below 7.0.39 is affected.
- Version 8.0 and below 8.0.28 is affected.
- Version 8.2.0 and below 8.2.12 is affected.
- Version 8.3.0 and below 8.3.7 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.