CVE-2026-4148
CVE-2026-4148 — ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators
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.
Published Updated Sources: NVD, MongoDB Inc (CNA), GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
<1%
ahead of 33% of scored CVEs
CVSS base
8.8
high · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade MongoDB Server to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| MongoDB Inc. | MongoDB Server | 8.2 to < 8.2.6 | Vulnerable |
| MongoDB Inc. | MongoDB Server | 8.0 to < 8.0.20 | Vulnerable |
| MongoDB Inc. | MongoDB Server | 7.0 to < 7.0.31 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | high | 2.8 | 5.9 | mongodb.com (CNA), MongoDB Inc (CNA), GHSA |
| 8.7 | CVSS 4.0 | high | n/a | n/a | MongoDB Inc (CNA) |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-416 · Use After Free
- Modify Memory
- DoS: Crash, Exit, or Restart
- Execute Unauthorized Code or Commands
Mitigation: Choose a language that provides automatic memory management.
Weakness & attack patterns
- CWE-416Use After Free
Inferred from the weakness class — not observed against this CVE.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
6
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
🟠 CVE-2026-4148 - High 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. https://t.co/b8ZnVpODLX https://t.co/GbzGHWigzi
@TheHackerWire· Mar 17, 2026
A severe vulnerability was disclosed for MongoDB Server (CVE-2026-4148) https://t.co/fvuYOlykIV
@vuldb· Mar 17, 2026
🚨 CYBERDUDEBIVASH SENTINEL APEX ALERT 🚨 Threat: CVE-2026-4148 - ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators Intel Report: https://t.co/fAe2MLIvVs
@cyberbivash· Mar 17, 2026
[CVE-2026-4148: HIGH] 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.#cve,CVE-2026-4148,#cybersecurity https://t.co/85j5sbpCxR
@CveFindCom· Mar 17, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable MongoDB Server.
- Monitor for scanner or exploit-pattern traffic after 6 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip1.234.27.15964
Rutgers Blacklisted IPs · Feb 23, 2026
- ip62.84.182.7985
Blocklist.de Feed · Oct 5, 2026
- ip207.244.69.16412
Maltiverse IP List · Jun 3, 2026
- ip161.97.79.22715
BitNodes-Firehol · Feb 9, 2025
- ip23.95.20.16041
AbuseIPDB Hourly Update · Oct 23, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 8.8 (AV:N)
Jun 17, 2026 · NVD
Initial · CVE published
Mar 17, 2026 · NVD
Added · GHSA-5rch-679r-cv33 published (high)
Mar 17, 2026 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 5×SvrsMar 18, 2026 – Apr 6, 2026 · SOCRadar CTI
- 1×Tweets · 4 times tweeted.Mar 18, 2026 · SOCRadar CTI
- 1×CVE modified by MITRE: CVSS metrics updated.Mar 17, 2026 · SOCRadar CTI
References
3 on the record
- jira.mongodb.org/browse/SERVER-119319
Patch, Vendor Advisory, NIST
- nvd.nist.gov/vuln/detail/CVE-2026-4148
NVD
- github.com/advisories/GHSA-5rch-679r-cv33
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-14847 Zlib compressed protocol header length confusion may allow memory readCVSS 7.5 · CISA KEV
- CVE-2026-118383 Pre-authentication use-after-free in MongoDB Server replica set primary catch-upCVSS 10.0
- CVE-2026-120824 Post-authentication use-after-free in MongoDB Server time-series bucket validationCVSS 8.8
- CVE-2026-18692 Use-After-Free in MongoDB Timeseries Bucket Handling Leads to Denial of Service and Potential Remote Code ExecutionCVSS 8.8
- CVE-2026-18691 Improper Authentication in MongoDB Intra-Cluster Connections Allows Credential ExposureCVSS 8.8
- CVE-2026-8053 FlatBSON Duplicate Field Index DriftCVSS 8.8
Elsewhere on this site
- MongoDB Inc.every CVE for this vendor
- MongoDB Serverevery page on this product
- Memory Corruptionsame class
- CWE-416other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-4148 is ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators, a high vulnerability affecting MongoDB Server from MongoDB Inc.. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-4148. Public exploit evidence is: 6 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.8 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.