CVE-2026-18696: 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...
Medium CVSS 6.5
- CVE id
- CVE-2026-18696
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| MongoDB Runtimes and servers |
>= 7.0.0, < 7.0.40 >= 8.0.0, < 8.0.29 >= 8.2.0, <= 8.2.12 >= 8.3.0, < 8.3.8 |
7.0.40, 8.0.29, 8.3.8 |
How to fix it
Upgrade MongoDB to the fixed release of the line you run: 7.0.40, 8.0.29, 8.3.8.
mongod --version
- Install the patched MongoDB release of your series (the mongo image tag or the mongodb-org packages); on Atlas, MongoDB patches the servers.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.