CVE-2026-135138
6.0medium
Improper restriction of read-only attributes with dotted keys in Mongoid
- Severity
- 6.0medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Ruby Driver | from 3.0.0 before 9.1.3 | CVE List |
All scores
| mongodb | 6.0medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| mongodb | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-135138 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-135138 changed 2026-11-25 | Public domain |