What’s Vulnerable › Vulnerabilities

CVE-2026-104004: Collection validators using collation-accepting expressions can crash MongoDB Server on insert

Description

MongoDB Server's collection validation feature may not properly handle certain expressions stored in a validator. In some cases, this can cause the server process to stop running when a document is later inserted. The behavior can occur for authenticated users with write access.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 8.0.34, 8.3.13, 9.0.4. Check the vendor advisory for mitigations.

References

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