CVE-2026-4148
ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
HIGH 8.7
At a glance
- Source
- NVD
- EPSS
- EPSS 0.34 % · percentile 27 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mongodb
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.7 | 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 |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | mongodb |
| CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · cna@mongodb.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · cna@mongodb.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-12587
- GCVE · GCVE-0-2026-4148
CERT-FR advisories
- CERTFR-2026-AVI-0736 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 7.0.0 < 7.0.31cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 8.0.0 < 8.0.20cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*≥ 8.2.0 < 8.2.6cpe:2.3:a:mongodb:mongodb:8.3.0:alpha0:*:*:-:*:*:*cpe:2.3:a:mongodb:mongodb:8.3.0:alpha1:*:*:-:*:*:*cpe:2.3:a:mongodb:mongodb:8.3.0:alpha2:*:*:-:*:*:*cpe:2.3:a:mongodb:mongodb:8.3.0:alpha3:*:*:-:*:*:*cpe:2.3:a:mongodb:mongodb:8.3.0:rc1:*:*:-:*:*:*
Affected products
| Product | Versions |
|---|---|
| MongoDB Inc · MongoDB Server | affected 8.2 < 8.2.6 ; affected 8.0 < 8.0.20 ; affected 7.0 < 7.0.31 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |