{"affected":[{"defaultStatus":"unaffected","product":"Ruby Driver","source":"CNA: mongodb","vendor":"MongoDB","versions":[{"lessThan":"9.1.3","status":"affected","version":"3.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-135138","cwes":["CWE-915"],"description":"Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller. In an application that forwards caller-supplied attribute names into a document update, a user with basic application privileges may change values held inside a field the model declared immutable. This may result in unintended modification of data the application treats as trusted, such as flags used for its own access decisions.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6,"severity":"medium","source":"CNA: mongodb","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"score":6.5,"severity":"medium","source":"CNA: mongodb","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}],"modifiedAt":1795628752956,"publishedAt":1795628752956,"references":[{"source":"CNA: mongodb","tags":[],"url":"https://jira.mongodb.org/browse/MONGOID-6035"}],"remediation":[],"revision":"7caedbd671f05d223fc50a1697682bbce8acdddb54fcc330396c0b315bc26e9b","sources":[{"modifiedAt":1795628752956,"name":"CNA: mongodb","retrievedAt":1795630148328,"url":"https://www.cve.org/CVERecord?id=CVE-2026-135138"}],"ssvc":null,"status":"published","title":"Improper restriction of read-only attributes with dotted keys in Mongoid","updatedAt":1795630148328}