What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 8.3.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18704 or the next vulnerability affects your stack