CVE-2026-135138
JSON

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 packageVersionsReported by
MongoDB Ruby Driverfrom 3.0.0 before 9.1.3CVE List

All scores

mongodb6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
mongodb6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-915

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135138 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-135138 changed 2026-11-25Public domain