Skip to content
OpenAdvisories
High · 8.8 CVE-2026-4148 EUVD-2026-12587GHSA-5rch-679r-cv33

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

Published Mar 17, 2026 · Updated Mar 18, 2026 · Assigned by mongodb

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

VendorProductAffectedFixed
MongoDB MongoDB Server 8.2 – < 8.2.6, 8.0 – < 8.0.20, 7.0 – < 7.0.31 8.2.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References