← VULNERABILITIES

CVE-2026-135138

Improper restriction of read-only attributes with dotted keys in Mongoid

Medium · 6.0Fix available
CVSS
6
EPSS
0.48% (p34)
Published
2026-11-25
Age
3d old
Modified
2026-11-25
Product
MongoDB Ruby Driver

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

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.

Fixed in

9.1.3

Affected packages

EcosystemPackageRangeFixed
vendorRuby Driver>=3.0.0, <9.1.39.1.3

Sources

  • NVD · first seen 3d ago · NVD terms of use
  • CVE List · first seen 3d ago · CVE Terms of Use

References

JSON