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

CVE-2026-18704 affects 6 listed versions of MongoDB in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
11 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MongoDB

6 of 250 listed versions are affected. Fixed in 8.3.8. The newest release, 9.0.8, is not affected.

8.3.7 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (Mongodb)

Published by Mongodb on 11 August 2026. Last changed 23 October 2026.

Sources

Check one version you run: look CVE-2026-18704 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.