CVE-2026-8843: Creating a "2dsphere_bucket" index on a non-timeseries bucket collection will succeed, but any subsequent attempt to insert a document which triggers updating that index will crash the server.
Medium CVSS 6.5
- CVE id
- CVE-2026-8843
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| MongoDB Runtimes and servers |
>= 7.0.0, < 7.0.32 >= 8.0.0, < 8.0.21 >= 8.2.0, < 8.2.6 |
7.0.32, 8.0.21, 8.2.6 |
How to fix it
Upgrade MongoDB to the fixed release of the line you run: 7.0.32, 8.0.21, 8.2.6.
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
Creating a "2dspherebucket" index on a non-timeseries bucket collection will succeed, but any subsequent attempt to insert a document which triggers updating that index will crash the server. A similar issue occurs when creating "queryableencrypted_range" indices.
This issue affects MongoDB Server v7.0 versions prior to 7.0.32, v8.0 versions prior to 8.0.21 and v8.2 versions prior to 8.2.6
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.