CVE-2026-11933 PUBLISHED

Post-authentication use-after-free in server-side JavaScript BSON-to-array conversion

Assigner: mongodb
Reserved: 10.06.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor MongoDB
Product MongoDB
Versions Default: unaffected
  • affected from 8.3.0 to 8.3.3 (incl.)
  • affected from 8.2.0 to 8.2.10 (incl.)
  • affected from 8.0.0 to 8.0.25 (incl.)
  • affected from 7.0.0 to 7.0.36 (incl.)
  • affected from 6.0 to 6.0.28 (incl.)
  • affected from 5.0 to 5.0.33 (incl.)
  • affected from 4.4.0 to 4.4.30 (incl.)

References

Problem Types

  • CWE-787: Out-of-bounds Write CWE