What’s Vulnerable › Vulnerabilities

CVE-2026-103965: Fixed values in MongoDB Server $bucket stage may be misread as field references

Description

An issue in MongoDB Server's aggregation framework can cause certain constant values to be handled incorrectly during internal query rewriting. Under certain conditions, an authenticated user with read access may receive field values in aggregation output that the query did not intend to return.

Affected products

How to fix

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

References

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