CVE-2026-11933
Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion
In short
An authenticated user can trigger a memory error in MongoDB's JavaScript engine by converting BSON documents to arrays, potentially leaking sensitive data or crashing the server.
Technical detail
A use-after-free vulnerability in MongoDB's server-side JavaScript BSON-to-array conversion allows authenticated users with read privileges and JavaScript execution capability (via $where or $function operators) to access freed memory, enabling information disclosure from mongod process memory or denial of service through crash.
Summary generated and translated by AI from the official 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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
MongoDB · MongoDBWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →