CVE-2026-4148
High
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.
SeverityHigh
CVSS8.7
Exploit probability28. percentile0.3%
Product
Mongodb
PublishedMar 17, 2026
First seenMar 17, 2026
Weakness typeCWE-416Use after free
How to fix
Update
- mongodb mongodb7.0.31, 8.0.20, 8.2.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb mongodb | 7.0.0 ≤ v < 7.0.31, 8.0.0 ≤ v < 8.0.20, 8.2.0 ≤ v < 8.2.6, 8.3.0 | 7.0.31, 8.0.20, 8.2.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.