CVE-2026-135138: MongoDB Ruby Driver
Medium severity, CVSS 6.5. EPSS: 0.5% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- MongoDB Ruby Driver, from 3.0.0, before 9.1.3: fixed in 9.1.3
Affected products
- MongoDB Ruby Driver: from 3.0.0, before 9.1.3 (fixed in 9.1.3)
Published 2026-11-25. Last modified 2026-11-25.