Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller.
- CVSS
- 6.5Medium
- Chance of exploitation (EPSS)
- 0.48%
- Published
- Nov 25, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Mongodb Ruby Driver that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 9.1.3
Affected versions
- Mongodb Ruby Driver
- 3.0.0 to before 9.1.3
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-135138 published (CVSS 6.5) (Nov 25, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 25, 2026
- CVECVE-2026-135138 published (CVSS 6.5)CVE Program · 18:18 UTC
References 1
- jira.mongodb.org /browse/MONGOID-6035