CVE-2026-93765

Summary

Mongoid contains an unsafe reflection weakness in the document persistence layer of its object-document mapping code. Input whose keys are passed through from an unauthenticated party by an embedding application can cause unintended internal method invocation instead of the intended array field update. This may result in unintended removal of stored records and in the embedding application becoming unresponsive.

Affected Software

VendorProductVersion RangeStatus
MongoDB Inc.Mongoid9.1.0affected
MongoDB Inc.Mongoid9.0.0 <= 9.0.11affected
MongoDB Inc.Mongoid8.1.0 <= 8.1.12affected
MongoDB Inc.Mongoid8.0.0 <= 8.0.12affected

Weaknesses

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

References