Description

Mongoid contains an unsafe reflection weakness in the query path used for embedded documents. An application that passes an externally supplied field name to certain in-memory query methods may allow an unauthenticated party to obtain unintended disclosure of stored document data and to permanently remove stored records.

Severity (CVSS)

Base score9.2
SeverityCritical
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-470 — CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Affected products

VendorProductVersions
MongoDB Inc.Mongoid9.1.0; 9.0.0 to <=9.0.11; 8.1.0 to <=8.1.12; 8.0.0 to <=8.0.12; 7.6.0 to <=7.6.1; 7.5.0 to <=7.5.4

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 19 Sep 2026 07:08 UTC.