CVE-2026-4358
Medium
Description
A specially crafted aggregation query with $lookup by an authenticated user with write privileges can cause a double-free or use-after-free memory issue in the slot-based execution (SBE) engine when an in-memory hash table is spilled to disk.
SeverityMedium
CVSS6.4
Exploit probability—
Product
Mongodb
PublishedMar 17, 2026
First seenMar 17, 2026
Weakness typeCWE-415CWE-415
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 | 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.