CVE-2026-8199 Post-auth memory exhaustion via bitwise match expressions

High 7.1 Published Updated

Authenticated users can cause memory exhaustion and denial of service via specific bitwise match expressions in MongoDB Server.

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

CVE-2026-8199 is a high-severity denial of service vulnerability in Mongodb Mongodb, published on 13 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An authenticated user can cause excess memory usage via bitwise match expression AST processing of $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear. This contributes to memory pressure and may lead to availability loss by OOM.

This issue impacts MongoDB Server v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.

Weakness: CWE-1325

Which versions are affected by CVE-2026-8199?

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

PackageAffectedFixed in
mongodb BitnamiFrom 7.0.07.0.34, 8.0.23, 8.2.9, 8.3.2

Products include Mongodb Mongodb.

How do I fix CVE-2026-8199?

Upgrade mongodb to a fixed version for your release line: 7.0.34, 8.0.23, 8.2.9 or 8.3.2.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-8199 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-8199, GHSA-ch76-jrmh-qm2h, MINI-7xcq-9w2w-x3rg, MINI-hq58-m48w-g68q, MINI-qpwr-xhg8-6x2g, UBUNTU-CVE-2026-8199.

Is CVE-2026-8199 in your software?

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

Check your SBOMs for free