CVE-2026-13066: Improper handling of DBPointer objects during BSON serialization in MongoDB's server-side JavaScript engine ca
CVE-2026-13066 is a medium-severity flaw (CVSS 6.5) affecting mongodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 70%) |
| CISA exploited list | No |
| Weakness | CWE-843 |
| Published | 2026-07-22 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-13066?
mongodb: upgrade to 7.0.39, 8.0.28, 8.2.12, 8.3.7. Exact commands for each OS are on this page.
Is CVE-2026-13066 being exploited?
CVE-2026-13066 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-13066 affect?
CVE-2026-13066 affects mongodb. Severity is medium (CVSS 6.5). 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 informa
How urgent is CVE-2026-13066?
Priority 30/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-13072 HIGH 8.1 UPGRADE When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BS
- CVE-2026-13059 HIGH 8.1 UPGRADE An authenticated user with low privileges may be able to perform unauthorized reads and writes on data protect
- CVE-2026-13078 HIGH 7.7 UPGRADE A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally
- CVE-2026-13077 HIGH 7.1 UPGRADE A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds
- CVE-2026-13065 MEDIUM 6.5 UPGRADE A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window functio