CVE-2026-8201 Use-After-Free in MongoDB FLE Query Analysis When Processing Positional Projections on Encrypted Fields

Medium 6.1 Published Updated

Attackers can trigger a use-after-free in MongoDB's FLE query analysis by crafting specific encrypted field queries, potentially leading to code execution or crashes.

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

CVE-2026-8201 is a medium-severity use after free 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

A use-after-free vulnerability exists in MongoDB's Field-Level Encryption (FLE) query analysis component, affecting client-side uses of mongocryptd and crypt_shared. Triggering this vulnerability requires control over the structure of a client's FLE-related query.

This issue impacts MongoDB Server’s mongocryptd component 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-416

Which versions are affected by CVE-2026-8201?

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

Upgrade mongodb to a fixed version for your release line: 7.0.34, 8.0.23, 8.2.9 or 8.3.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-8201 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-8201, GHSA-r8cx-9wfm-r3m7, MINI-3w5q-r3cx-g6q6, MINI-66hc-cpjp-9959, MINI-f687-p474-978q, UBUNTU-CVE-2026-8201.

Is CVE-2026-8201 in your software?

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

Check your SBOMs for free