CVE-2026-135227
Improper restriction of object attributes in Mongoid belongs_to assignment
High · 8.3Fix available
- CVSS
- 8.3
- EPSS
- 0.60% (p43)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- MongoDB Ruby Driver
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
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.
Fixed in
9.1.3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Ruby Driver | >=9.1.0, <9.1.3 | 9.1.3 |