CVE-2026-13066: CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') in MongoDB MongoDB Server
CVE-2026-13066 is a high-severity vulnerability in MongoDB Server involving improper handling of DBPointer objects during BSON serialization in the server-side JavaScript engine. This flaw can cause internal process memory contents to be unintentionally included in data returned to clients, leading to information disclosure. The issue affects deployments that use server-side JavaScript. No official patch or remediation guidance is currently provided by the vendor.
AI Analysis
Technical Summary
The vulnerability CVE-2026-13066 in MongoDB Server arises from improper handling of DBPointer objects during BSON serialization within the server-side JavaScript engine. This type confusion (CWE-843) can cause internal memory contents to leak in responses sent to clients, resulting in unintended information disclosure. The vulnerability affects MongoDB Server versions 7.0, 8.0, 8.2.0, and 8.3.0. There is no vendor advisory indicating an available patch or official remediation at this time.
Potential Impact
Exploitation of this vulnerability can lead to disclosure of internal process memory contents to clients, potentially exposing sensitive information. The impact is limited to deployments that utilize server-side JavaScript in MongoDB Server. There are no indications of privilege escalation, denial of service, or remote code execution associated with this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider disabling or restricting the use of server-side JavaScript in MongoDB deployments to reduce exposure to this vulnerability.
CVE-2026-13066: CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') in MongoDB MongoDB Server
Description
CVE-2026-13066 is a high-severity vulnerability in MongoDB Server involving improper handling of DBPointer objects during BSON serialization in the server-side JavaScript engine. This flaw can cause internal process memory contents to be unintentionally included in data returned to clients, leading to information disclosure. The issue affects deployments that use server-side JavaScript. No official patch or remediation guidance is currently provided by the vendor.
CVSS v4.0
Score 7.1high
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-13066 in MongoDB Server arises from improper handling of DBPointer objects during BSON serialization within the server-side JavaScript engine. This type confusion (CWE-843) can cause internal memory contents to leak in responses sent to clients, resulting in unintended information disclosure. The vulnerability affects MongoDB Server versions 7.0, 8.0, 8.2.0, and 8.3.0. There is no vendor advisory indicating an available patch or official remediation at this time.
Potential Impact
Exploitation of this vulnerability can lead to disclosure of internal process memory contents to clients, potentially exposing sensitive information. The impact is limited to deployments that utilize server-side JavaScript in MongoDB Server. There are no indications of privilege escalation, denial of service, or remote code execution associated with this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider disabling or restricting the use of server-side JavaScript in MongoDB deployments to reduce exposure to this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-06-23T18:00:09.471Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6123209c2644c7f89b2cb0
Added to database: 07/22/2026, 20:08:00 UTC
Last enriched: 07/30/2026, 05:12:18 UTC
Last updated: 09/02/2026, 22:52:09 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.