What’s Vulnerable › Vulnerabilities
CVE-2021-32037: User may trigger invariant when allowed to send commands directly to shards
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-11-24 · updated 2026-06-17
- Weakness: CWE-617
Description
An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled environment. This issue affects MongoDB Server v5.0 versions prior to and including 5.0.2.
Affected products
- MongoDB: from 5.0.0 through 5.0.2
References
Get alerted when CVE-2021-32037 or the next vulnerability affects your stack