Use-after-free in MongoDB Server - CVE-2026-120819
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information from server process memory.
The vulnerability exists due to use-after-free in the server-side JavaScript execution component of MongoDB Server when executing user-supplied JavaScript through $accumulator. A remote user can submit a specially crafted database command to cause released memory to be accessed and adjacent process memory to be returned in the command result, disclosing information they are not authorized to access.
The disclosure is bounded to 24 KiB of process memory.