CVE-2026-18696
Description
An issue in MongoDB Server's applyOps command could allow an authenticated user with specific non-default privileges to perform certain data-definition operations, such as dropping or modifying collections, against collections they do not have permission to manipulate. This is due to an inconsistency in how the target collection is determined between the authorization check and the actual operation.
How to fix
- mongodb mongodb7.0.40, 8.0.29, 8.3.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb mongodb | 7.0.0 ≤ v < 7.0.40, 8.0.0 ≤ v < 8.0.29, 8.2.0 ≤ v ≤ 8.2.12, 8.3.0 ≤ v < 8.3.8, 9.0.0, 9.1.0 | 7.0.40, 8.0.29, 8.3.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.