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.
Published: 2026-07-22
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when MongoDB’s server‑side JavaScript engine mishandles DBPointer objects during BSON serialization, causing data that reflects parts of the server’s internal memory to be embedded in responses sent to a client. This flaw can lead to unintended disclosure of server memory contents, potentially revealing sensitive information to an attacker who can trigger the serialization, but the exact nature of the leaked data is not specified by the vendor.

Affected Systems

All MongoDB Server deployments that have server‑side JavaScript execution enabled are vulnerable. No specific product versions are stated, so any instance where the feature is active should be evaluated for the presence of the flaw.

Risk and Exploitability

The CVSS score of 7.1 denotes a high impact on confidentiality, and the EPSS score of less than 1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need the capability to execute JavaScript on the server, which implies privileged or compromised access; this prerequisite is an inferred assumption based on the fact that the flaw is limited to server‑side JavaScript. If that access exists, the attacker could cause the memory disclosure and obtain the sensitive data.

Generated by OpenCVE AI on August 3, 2026 at 23:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update MongoDB to the latest stable release that contains the DBPointer serialization fix.
  • Disable server‑side JavaScript execution if it is not needed for the application.
  • Limit or audit permissions for accounts that can execute server‑side JavaScript, ensuring only trusted users retain that capability.

Generated by OpenCVE AI on August 3, 2026 at 23:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Server-Side JavaScript DBPointer BSON Serialization Memory Disclosure
Weaknesses CWE-843
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': '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'}


Subscriptions

Mongodb Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-23T14:23:10.572Z

Reserved: 2026-06-23T18:00:09.471Z

Link: CVE-2026-13066

cve-icon Vulnrichment

Updated: 2026-07-23T14:23:07.774Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T20:16:44.813

Modified: 2026-08-05T14:43:56.540

Link: CVE-2026-13066

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')