Use-after-free in MongoDB Server - CVE-2026-120821

 

Use-after-free in MongoDB Server - CVE-2026-120821

Published: November 16, 2026


Vulnerability identifier: #VU166297
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120821
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to use-after-free in the MongoDB Server aggregation framework when evaluating certain expressions in an aggregation sub-pipeline. A remote user can trigger evaluation of these expressions with read privileges to cause the server to terminate unexpectedly.


Affected software

MongoDB Server

How to mitigate CVE-2026-120821

Install security update from vendor's website.

MongoDB Server - update to 9.0.7

External References

Related Security Bulletins