CVE-2026-4148 ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
HighCVSS 8.7
EPSS 0.64%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Server | >= 7.0, < 7.0.31; >= 8.0, < 8.0.20; >= 8.2, < 8.2.6 | 7.0.31, 8.0.20, 8.2.6 | Fixed |
| mongodb/mongodb | = 8.3.0-alpha0; = 8.3.0-alpha1; = 8.3.0-alpha2; = 8.3.0-alpha3 +4 more | 7.0.31, 8.0.20, 8.2.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Server | >= 8.2, < 8.2.6 | 8.2.6 |
| MongoDB Server | >= 8.0, < 8.0.20 | 8.0.20 |
| MongoDB Server | >= 7.0, < 7.0.31 | 7.0.31 |
| mongodb/mongodb | >= 7.0.0, < 7.0.31 | 7.0.31 |
| mongodb/mongodb | >= 8.0.0, < 8.0.20 | 8.0.20 |
| mongodb/mongodb | >= 8.2.0, < 8.2.6 | 8.2.6 |
| mongodb/mongodb | = 8.3.0-alpha0 | No fix listed |
| mongodb/mongodb | = 8.3.0-alpha1 | No fix listed |
| mongodb/mongodb | = 8.3.0-alpha2 | No fix listed |
| mongodb/mongodb | = 8.3.0-alpha3 | No fix listed |
| mongodb/mongodb | = 8.3.0-rc1 | No fix listed |
References
- jira.mongodb.org patch vendor-advisory