{"schemaVersion":4,"id":"CVE-2026-135227","aliases":[],"status":"published","duplicateOf":null,"title":"Improper restriction of object attributes in Mongoid belongs_to assignment","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.","dates":{"published":"2026-11-25T17:43:27.980Z","modified":"2026-11-25T19:18:58.359Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.3,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.3,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.3,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.006,"percentile":0.50164,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.006,"percentile":0.50164}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.006,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.006,"percentile":0.50164}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes","description":"The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/915.html"}],"affected":[{"vendor":"mongodb","product":"ruby driver","name":"Ruby Driver","label":"ruby driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.1.0, < 9.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"9.1.0","startInclusive":true,"end":"9.1.3","endInclusive":false}}],"versionsText":"≥ 9.1.0, < 9.1.3","eol":null,"hubHref":"/vendor/mongodb/ruby_driver"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/MONGOID-5969","label":"jira.mongodb.org/browse/MONGOID-5969","hostname":"jira.mongodb.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T17:43:27.980Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T19:18:58.359Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 9.1.3 (CNA); fix release not confirmed","rank":[0,0,0,0,1,83],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.006,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:18:58.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.3,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T19:18:58.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:18:58.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-25T19:18:58.359Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T19:18:48.325Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.006,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:05:27.219Z","stale":false,"partial":false}}