Improper restriction of object attributes in Mongoid belongs_to assignment
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
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.
| Product | Versions |
|---|---|
| Ruby Driver MongoDB | 9.1.0 to before 9.1.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | mongodb | |
| 3.1 | 8.2 High | mongodb |
Weaknesses
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
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.