Use-after-free in Wasm JS-BSON bridge lets read-only users read 24 KiB via $accumulator
- CVE-2026-120819
- GHSA-89h3-wmrf-r95w
- EUVD-2026-122847
Description
A memory-management flaw in the server-side JavaScript execution component of MongoDB Server can allow an authenticated user holding only read privileges to cause the server to access memory that has already been released. By submitting a specially crafted database command that runs user-supplied JavaScript, the user can cause a bounded amount of adjacent process memory to be returned in the command's result. This results in the user obtaining information they are not authorized to access. Integrity and availability are not affected.
Text from the CVE.org record.
Recommendation
MongoDB MongoDB Server
- If you run 9.0.xupdate to 9.0.7 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MongoDB MongoDB Server
Affected versions Fixed in from 9.0.0 to before 9.0.7 9.0.7
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.