P3 · MediumCVSS 6.5
Improper restriction of read-only attributes with dotted keys in Mongoid
- CVE-2026-135138
- GHSA-wrx7-gv98-4q54
- EUVD-2026-135622
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.
Text from the CVE.org record.
Affected
MongoDB Ruby Driver
- from 3.0.0 to before 9.1.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.