CVE-2026-18704 Improper Authorization in MongoDB Aggregation Framework Allows Read-Only User to Perform Unauthorized Write Operations

High 7.1 Published Updated

An authenticated read-only user can perform unauthorized write operations on collections due to missing authorization checks in the aggregation framework.

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

CVE-2026-18704 is a high-severity missing authorization 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 with only read privileges to perform write operations against collections they should not be able to modify. This is due to an internal-use aggregation stage being reachable by external clients without an appropriate authorization check on its embedded operations.

Weakness: CWE-862

Which versions are affected by CVE-2026-18704?

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

PackageAffectedFixed in
mongodb BitnamiFrom 8.3.08.3.8

Products include Mongodb Mongodb.

How do I fix CVE-2026-18704?

Upgrade mongodb to 8.3.8 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-18704 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-18704, GHSA-cpxv-jhq7-7xvw, MINI-6jqr-76fq-5cph, UBUNTU-CVE-2026-18704.

Is CVE-2026-18704 in your software?

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

Check your SBOMs for free