CVE-2026-4148
Received Received - Intake
Use-After-Free in MongoDB Sharded Clusters via $lookup Aggregation

Publication date: 2026-03-17

Last updated on: 2026-04-10

Assigner: MongoDB, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-17
Last Modified
2026-04-10
Generated
2026-06-16
AI Q&A
2026-03-17
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 8 associated CPEs
Vendor Product Version / Range
mongodb mongodb 8.3.0
mongodb mongodb From 7.0.0 (inc) to 7.0.31 (exc)
mongodb mongodb From 8.0.0 (inc) to 8.0.20 (exc)
mongodb mongodb From 8.2.0 (inc) to 8.2.6 (exc)
mongodb mongodb 8.3.0
mongodb mongodb 8.3.0
mongodb mongodb 8.3.0
mongodb mongodb 8.3.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a use-after-free issue that can be triggered in sharded clusters of MongoDB. It requires an authenticated user who has the read role to issue a specially crafted $lookup or $graphLookup aggregation pipeline, which then exploits the flaw.

Impact Analysis

The vulnerability has a high severity score (CVSS v3.1 BaseScore 8.8), indicating it can have significant impact. It can lead to unauthorized actions such as data corruption, data leakage, or denial of service due to the use-after-free condition triggered by a low-privileged authenticated user.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-4148. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart