CVE-2026-13066

Server-Side JavaScript DBPointer BSON Serialization Memory Disclosure

State
Published
Severity
7.1 High
Published
Jul 22, 2026
Updated
Jul 23, 2026
Reserved
Jun 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:Nmongodb
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nmongodb

Weaknesses

  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 7.0 to before 7.0.39Affected
  • 8.0 to before 8.0.28Affected
  • 8.2.0 to before 8.2.12Affected
  • 8.3.0 to before 8.3.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.