# CVE-2026-135227: Improper restriction of object attributes in Mongoid belongs_to assignment

- Severity: High 8.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-11-25T17:43:27.980Z
- Modified: 2026-11-25T20:18:37.560Z
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Ruby Driver: from 9.1.0 before 9.1.3

## Every score

- mongodb: CVSS:4.0 8.3 High `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`
- mongodb: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`

## References

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

## Sources

- CVE List: [CVE-2026-135227](https://www.cve.org/CVERecord?id=CVE-2026-135227), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135227](https://nvd.nist.gov/vuln/detail/CVE-2026-135227), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135227 · Whole record: https://cve.day/CVE-2026-135227.json · Rebuilt by cve.day 2026-11-25T23:18:09.427Z
