# CVE-2026-135227: Improper restriction of object attributes in Mongoid belongs\_to assignment

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 9.1.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-25 · Modified: 2026-11-25
- Record: https://cvemate.com/vulnerability/CVE-2026-135227 · JSON: https://cvemate.com/vulnerability/CVE-2026-135227/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v4.0, CVE.org) 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
- EPSS: 0.6%, percentile 50.164%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mongodb ruby driver: ≥ 9.1.0, \< 9.1.3

## References

- <https://jira.mongodb.org/browse/MONGOID-5969>

---

Data as of 2026-12-05T04:05:27.219Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
