CVE-2026-13066: CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') in MongoDB MongoDB Server
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.
AI Analysis
Technical Summary
This vulnerability arises from type confusion (CWE-843) in MongoDB Server's handling of DBPointer objects during BSON serialization within its server-side JavaScript engine. Improper processing can cause internal memory contents to be included in data returned to clients, resulting in unintended information disclosure. The affected versions explicitly include 7.0, 8.0, 8.2.0, and 8.3.0. The CVSS 4.0 base score is 7.1, indicating high severity, with network attack vector, low attack complexity, and no privileges or user interaction required. The vulnerability does not affect cloud-hosted MongoDB services. No vendor advisory or patch is currently available, and no known exploits have been reported.
Potential Impact
Successful exploitation can lead to unintended disclosure of internal process memory contents to clients, potentially exposing sensitive information. This impacts MongoDB Server deployments that utilize server-side JavaScript. There is no indication of privilege escalation, denial of service, or integrity impact. The vulnerability is exploitable remotely without user interaction and requires low attack complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider limiting or disabling server-side JavaScript execution if feasible to reduce exposure. Monitor official MongoDB channels for updates and apply patches promptly once available.
CVE-2026-13066: CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') in MongoDB MongoDB Server
Description
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.
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
This vulnerability arises from type confusion (CWE-843) in MongoDB Server's handling of DBPointer objects during BSON serialization within its server-side JavaScript engine. Improper processing can cause internal memory contents to be included in data returned to clients, resulting in unintended information disclosure. The affected versions explicitly include 7.0, 8.0, 8.2.0, and 8.3.0. The CVSS 4.0 base score is 7.1, indicating high severity, with network attack vector, low attack complexity, and no privileges or user interaction required. The vulnerability does not affect cloud-hosted MongoDB services. No vendor advisory or patch is currently available, and no known exploits have been reported.
Potential Impact
Successful exploitation can lead to unintended disclosure of internal process memory contents to clients, potentially exposing sensitive information. This impacts MongoDB Server deployments that utilize server-side JavaScript. There is no indication of privilege escalation, denial of service, or integrity impact. The vulnerability is exploitable remotely without user interaction and requires low attack complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider limiting or disabling server-side JavaScript execution if feasible to reduce exposure. Monitor official MongoDB channels for updates and apply patches promptly once available.
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/22/2026, 20:23:52 UTC
Last updated: 07/23/2026, 02:51:54 UTC
Views: 3
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.