CVE-2026-135227

Improper restriction of object attributes in Mongoid belongs_to assignment

High published · updated

8.3
CVSS score out of 10 · NVD (mongodb.com)

Description

An improper restriction of dynamically determined object attributes in the object-document mapping library's association handling allows structured input supplied in place of a simple identifier value to be turned into an object that is treated as an already-stored record of a caller-chosen model class. In applications that pass unfiltered request data into the affected association handling, an unauthenticated party may cause unintended modification or removal of stored records, and may render an individual record unreadable through that association.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ruby driver mongodb 9.1.0 → <9.1.39.1.3 CVE.org

References