CVE-2026-4148
ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
- State
- Published
- Severity
- 8.7 High
- Published
- Mar 17, 2026
- Updated
- Mar 18, 2026
- Reserved
- Mar 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | mongodb |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | mongodb |
Weaknesses
- CWE-416 Use after free
Affected Products
| Product | Versions |
|---|---|
MongoDB ServerMongoDB Inc |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.