Vulnerability · Published Mar 17, 2026 · Assigned by mongodb

CVE-2026-4148ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators

High 8.8

In plain English

A high-severity use-after-free in MongoDB Server from MongoDB Inc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.3%top 72.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A use-after-free vulnerability can be triggered in sharded clusters by an authenticated user with the read role who issues a specially crafted $lookup or $graphLookup aggregation pipeline.

Affected products (as reported)

VendorProductVersions
MongoDB Inc MongoDB Server 8.2 – before 8.2.68.0 – before 8.0.207.0 – before 7.0.31

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References