cvelo
P2 · HighCVSS 7.1EPSS 0.4%

Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure

  • CVE-2026-120818
  • GHSA-xcr7-38c4-884c
  • EUVD-2026-122834

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.

Text from the CVE.org record.

Recommendation

  • MongoDB MongoDB Server

    • If you run 8.3.xupdate to 8.3.16 or laterPatch update: breaking changes are unlikely
    • If you run 8.0.xupdate to 8.0.37 or laterPatch update: breaking changes are unlikely
    • If you run 7.0.xupdate to 7.0.48 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • MongoDB MongoDB Server

    Affected versionsFixed in
    from 8.3.0 to before 8.3.168.3.16
    from 8.0.0 to before 8.0.378.0.37
    from 7.0.0 to before 7.0.487.0.48

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.