CVE-2026-4148: MongoDB - Use After Free
- Cve: CVE-2026-4148
- Name: MongoDB - Use After Free
- 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.
- Impact: Authenticated users with read role can cause memory corruption, potentially leading to denial of service or code execution.
- Remediation: Update to the latest MongoDB version with the fix applied.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with read role
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00379
- Epss percentile: 0.32584
- Assignee: [email protected]
- Published at: 2026-03-17T16:16:23Z
- Age in days: 252
- Modified at: 2026-06-17T10:56:03Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4148
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Hackerone
- Reports: 1
- Rank: 5211
References
| Url | Source | Tags |
|---|---|---|
| https://jira.mongodb.org/browse/SERVER-119319 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongodb:mongodb | = 8.3.0 alpha0; = 8.3.0 alpha1; = 8.3.0 alpha2; = 8.3.0 alpha3; = 8.3.0 rc1; >= 8.2.0, < 8.2.6; >= 8.0.0, < 8.0.20; >= 7.0.0, < 7.0.31 | no | nvd | /v1/products/mongodb/mongodb |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 159883
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since