CVE-2026-18688 Out-of-Bounds Read in MongoDB Aggregation Framework Leads to Denial of Service and Potential Memory Disclosure
An authenticated user can trigger an out-of-bounds read in MongoDB's aggregation framework, causing a server crash and potential memory disclosure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-18688?
CVE-2026-18688 is a high-severity memory corruption vulnerability in Mongodb Mongodb, published on 11 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue in MongoDB Server's aggregation framework could allow an authenticated user to trigger an out-of-bounds memory read by providing a specially formed numeric parameter in a certain aggregation pipeline stage. This could result in a server crash (denial of service) and may potentially expose a limited amount of memory contents.
Weakness: CWE-125
Which versions are affected by CVE-2026-18688?
1 open source package ship an affected version, including mongodb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mongodb Bitnami | From 7.0.0 | 7.0.40, 8.0.29, 8.3.8, 9.0.2 |
Products include Mongodb Mongodb.
How do I fix CVE-2026-18688?
Upgrade mongodb to a fixed version for your release line: 7.0.40, 8.0.29, 8.3.8 or 9.0.2.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-18688 being exploited?
There is no known exploitation of CVE-2026-18688 in the wild and no public exploit code.
Other vulnerabilities in Mongodb Mongodb
- CVE-2025-14847 MongoDB and MongoDB Server Improper Handling of Length Parameter Inconsistency
- CVE-2026-82067 Auth bypass in MongoDB Server
- CVE-2026-13072 MongoDB Improper Input Validation in Compute Mode External Data Processing Leading to Memory Corruption
- CVE-2017-15535 Denial of service in n/a
- CVE-2026-18691 Improper Authentication in MongoDB Intra-Cluster Connections Allows Credential Exposure
Sources
Also known as BIT-mongodb-2026-18688, GHSA-rf6p-955q-5j7w, MINI-288c-f53h-6cfg, MINI-2c36-4rhj-mrmr, MINI-5962-vw4r-p3cq, MINI-jp3j-32gw-vmgv and 1 more.