CVE-2026-18706 Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution
HighCVSS 7.5
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
An issue in MongoDB Server's $graphLookup aggregation stage could allow an authenticated user able to issue aggregation and memory-management commands to cause an internal reference to be used after the underlying memory has been freed. This could result in a server crash or, potentially, execution of unintended code.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Server | >= 8.3.0, < 8.3.8 | 8.3.8 | Fixed |
| mongodb/mongodb | = 9.0.0-alpha0; = 9.0.0-alpha1; >= 8.3.0, < 8.3.8 | 8.3.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Server | >= 8.3.0, < 8.3.8 | 8.3.8 |
| mongodb/mongodb | >= 8.3.0, < 8.3.8 | 8.3.8 |
| mongodb/mongodb | = 9.0.0-alpha0 | No fix listed |
| mongodb/mongodb | = 9.0.0-alpha1 | No fix listed |
References
- jira.mongodb.org issue-tracking vendor-advisory
- ENISA EUVD EUVD-2026-56863 third-party-advisory