CVE-2026-18688 Out-of-Bounds Read in MongoDB Aggregation Framework Leads to Denial of Service and Potential Memory Disclosure

High 7.1 Published Updated

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.

PackageAffectedFixed in
mongodb BitnamiFrom 7.0.07.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.

All Mongodb Mongodb vulnerabilities

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.

Is CVE-2026-18688 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free