CVE-2026-4148
published high CVSS 4.0 · 8.7ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | MongoDB Server8.2 to < 8.2.6 · 8.0 to < 8.0.20 · 7.0 to < 7.0.31 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | MongoDB Server | 8.2 to < 8.2.6 (affected · custom)8.0 to < 8.0.20 (affected · custom)7.0 to < 7.0.31 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-416 CWE-416 Use after free
References
1Provider assertions
2mongodb · cna
ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8a5c6179ee0e3e88235c1de755b7afa0413e070a579124c729674ceb4ac326f1
- Ingested
- 23 Sep 2026, 09:18:17 UTC
- Source record
- Official CVE record