Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135138: medium-severity vulnerability (CVSS 6) in MongoDB Ruby Driver.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.
Affected products and versions
MongoDB Ruby Driver >= 3.0.0, < 9.1.3
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 3.0.0, < 9.1.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/MONGOID-6035 — CVE Program
Weaknesses (CWE): CWE-915
Relevant change history
Published
Preliminary advisory published.