Uncontrolled Recursion in MongoDB Server - CVE-2026-120812

 

Uncontrolled Recursion in MongoDB Server - CVE-2026-120812

Published: November 16, 2026


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

Vulnerability details

The vulnerability allows a remote privileged user to cause a denial of service by terminating the server process.

The vulnerability exists due to uncontrolled recursion in MongoDB Server's internal query compilation component when processing queries against time-series collections. A remote privileged user can submit specially crafted queries with read privileges to exhaust the stack and terminate the server process.


Affected software

MongoDB Server

How to mitigate CVE-2026-120812

Install security update from vendor's website.

MongoDB Server - addressed in versions 8.3.16, 9.0.7

External References

Related Security Bulletins