freenode

← CVE tracker

CVE-2026-135138

Improper restriction of read-only attributes with dotted keys in Mongoid

Severity
medium CVSS 6.0 (v4.0)
Affects
Ruby Driver · MongoDB
Weakness
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Published
25 November 2026 by mongodb
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.