What’s Vulnerable › Vulnerabilities

CVE-2026-11933: Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion

Description

A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents to JavaScript arrays. An authenticated user with read privileges who is able to run server-side JavaScript (for example, via $where or $function) can cause the server to access memory that has already been freed. This may result in disclosure of information from the mongod process memory or a denial of service through a server crash.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 4.4.31, 5.0.34, 6.0.29, 7.0.37. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-11933 or the next vulnerability affects your stack