Dynamic Attribute Modification in Mongoid Affects Data Integrity
CVE-2026-135138
6MEDIUM
What is CVE-2026-135138?
Mongoid has a vulnerability where it fails to consistently enforce read-only attributes when attribute names are supplied dynamically. This flaw allows users with basic application privileges to modify immutable fields, which were intended to remain unchanged. As a result, unauthorized changes can occur in data that the application inherently trusts, potentially leading to serious security implications and breaches in data integrity, especially for configurations that dictate access decisions.
Affected Version(s)
Ruby Driver 3.0.0 < 9.1.3