{"id":"CVE-2026-18706","published":"2026-08-11T18:34:37Z","modified":"2026-08-11T20:27:45Z","title":"Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution","vendor":"MongoDB","product":"MongoDB Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00467,"percentile":0.41334,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-128551","tags":[]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.27},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"MongoDB Server","versions":[">= 8.3.0, < 8.3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-11T20:27:35.338419Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-56863","exploited":false,"provenance":"source"}}