Skip to content
Medium 6.5

Mongoid does not consistently apply its read-only attribute protection when attribute names are...

CVE-2026-135138 First seen on SecPulse

Affected packages

PackageAffected → Fixed
MongoDBRuby Driver
≥ 3.0.0, < 9.1.3→ 9.1.3
Original description The description as published by 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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details