Skip to content
Heist/ feed
HighFix available

Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution

Type: advisorySource: OSV1 source record

An issue in MongoDB Server's $graphLookup aggregation stage could allow an authenticated user able to issue aggregation and memory-management commands to cause an internal reference to be used after the underlying memory has been freed. This could result in a server crash or, potentially, execution of unintended code.

Announced Group revision 1
Original source ↗

BIT-mongodb-2026-18706

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:BIT-mongodb-2026-18706

mongodb

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
8.3.8

Source reference: /affected/0/ranges

9.0.2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "8.3.0"
          },
          {
            "fixed": "8.3.8"
          },
          {
            "introduced": "9.0.0"
          },
          {
            "fixed": "9.0.2"
          }
        ]
      }
    ],
    "package": {
      "name": "mongodb",
      "purl": "pkg:bitnami/mongodb",
      "ecosystem": "Bitnami"
    },
    "severity": [
      {
        "type": "CVSS_V4",
        "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
      }
    ],
    "database_specific": {
      "source": "https://github.com/bitnami/vulndb/tree/main/data/mongodb/BIT-mongodb-2026-18706.json"
    }
  }
]
Related CVEs
CVE-2026-18706

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Event
#59507 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement