CVE-2026-11933: A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents to JavaScript arrays.
High CVSS 8.8
- CVE id
- CVE-2026-11933
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| MongoDB Runtimes and servers |
>= 4.4.0, < 4.4.31 >= 5.0.0, < 5.0.34 >= 6.0.0, < 6.0.29 >= 7.0.0, < 7.0.37 >= 8.0.0, < 8.0.26 >= 8.2.0, < 8.2.11 >= 8.3.0, < 8.3.4 |
4.4.31, 5.0.34, 6.0.29, 7.0.37, 8.0.26, 8.2.11, 8.3.4 |
How to fix it
Upgrade MongoDB to the fixed release of the line you run: 4.4.31, 5.0.34, 6.0.29, 7.0.37, 8.0.26, 8.2.11, 8.3.4.
mongod --version
- Install the patched MongoDB release of your series (the mongo image tag or the mongodb-org packages); on Atlas, MongoDB patches the servers.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.