CVE-2026-18692 Use-After-Free in MongoDB Timeseries Bucket Handling Leads to Denial of Service and Potential Remote Code Execution

High 7.7 Published Updated

An authenticated user with write privileges can trigger a use-after-free in MongoDB timeseries handling, causing server crashes or potential remote code execution.

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-18692?

CVE-2026-18692 is a high-severity use after free 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 handling of timeseries bucket lifecycle could allow an authenticated user with write privileges to cause an internal reference to be used after the underlying memory has been freed. Subsequent operations could then result in a server crash or, potentially, execution of unintended code.

Weakness: CWE-416

Which versions are affected by CVE-2026-18692?

1 open source package ship an affected version, including mongodb. It affects 1 product.

PackageAffectedFixed in
mongodb BitnamiFrom 8.0.08.0.29, 8.3.8, 9.0.2

Products include Mongodb Mongodb.

How do I fix CVE-2026-18692?

Upgrade mongodb to a fixed version for your release line: 8.0.29, 8.3.8 or 9.0.2.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-18692 being exploited?

There is no known exploitation of CVE-2026-18692 in the wild and no public exploit code.

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-18692, GHSA-5v9h-3hj6-76w4, MINI-4w22-m654-2378, MINI-mc6r-fmj6-f2g2, MINI-r5hv-6jxq-8pfr, UBUNTU-CVE-2026-18692.

Is CVE-2026-18692 in your software?

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

Check your SBOMs for free