# CVE-2026-120818: Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure

- Severity: High 7.1 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-11-10T20:16:01.719Z
- Modified: 2026-11-13T19:19:07.127Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

A use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability.

(As written by CVE List.)

## Affected

- MongoDB MongoDB Server: from 8.3.0 before 8.3.16; from 8.0.0 before 8.0.37; from 7.0.0 before 7.0.48

## Every score

- mongodb: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`

## References

- <https://jira.mongodb.org/browse/SERVER-135727>

## Sources

- CVE List: [CVE-2026-120818](https://www.cve.org/CVERecord?id=CVE-2026-120818), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-120818](https://nvd.nist.gov/vuln/detail/CVE-2026-120818), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-120818 · Whole record: https://cve.day/CVE-2026-120818.json · Rebuilt by cve.day 2026-11-25T22:59:50.267Z
