CVE-2026-103965

Fixed values in MongoDB Server $bucket stage may be misread as field references

State
Published
Severity
5.3 Medium
Published
Oct 13, 2026
Updated
Oct 13, 2026
Reserved
Oct 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:Nmongodb
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nmongodb

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 8.3.0 to before 8.3.13Affected
  • 8.0 to before 8.0.34Affected
  • 7.0 to before 7.0.45Affected
  • 9.0 to before 9.0.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.