CVE-2026-135138 Improper restriction of read-only attributes with dotted keys in Mongoid
MediumCVSS 6.0
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Ruby Driver | >= 3.0.0, < 9.1.3 | 9.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 3.0.0, < 9.1.3 | 9.1.3 |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-135622 third-party-advisory
- nvd.nist.gov