Medium · published July 23, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/mongodb | ≥ 7.0.0, < 7.0.39 | 7.0.39 |
| mongodb/mongodb | ≥ 8.0.0, < 8.0.28 | 8.0.28 |
| mongodb/mongodb | ≥ 8.2.0, < 8.2.12 | 8.2.12 |
| mongodb/mongodb | ≥ 8.3.0, < 8.3.7 | 8.3.7 |