CVE-2026-135227 Improper restriction of object attributes in Mongoid belongs_to assignment
HighCVSS 8.3
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Ruby Driver | >= 9.1.0, < 9.1.3 | 9.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 9.1.0, < 9.1.3 | 9.1.3 |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-135616 third-party-advisory
- nvd.nist.gov