Use-After-Free Vulnerability in MongoDB Server's Aggregation JavaScript Support
CVE-2026-120818

7.1HIGH

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
10 November 2026

What is CVE-2026-120818?

A use-after-free vulnerability in MongoDB Server's server-side JavaScript functionality for aggregation can be exploited, allowing an authenticated user to read and return a stale reference to previously freed memory. These attackers can trigger the exploit by sending a specially crafted aggregation request over the network without requiring elevated permissions. This flaw might inadvertently expose adjacent process memory contents, undermining memory-layout randomization protocols, and in some scenarios, it could impact the overall availability of the server.

Affected Version(s)

MongoDB Server 8.3.0 < 8.3.16

MongoDB Server 8.0.0 < 8.0.37

MongoDB Server 7.0.0 < 7.0.48

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.