CVE-2026-135138: Mongoid does not consistently apply its read-only attribute protection when attribute names are
Source GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 9.1.3 when convenient.
Data as of 25 Nov 2026, 19:06 UTC
Thin evidence
One scorer or none| CNA (mongodb) | CVSS 4.0 | 6.0 |
|---|---|---|
| CNA (mongodb) | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 9.1.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade Ruby Driver to 9.1.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBRuby Driver | Affected
| Fixed in
|
AI-suggested
Users should review application code to avoid forwarding caller-supplied attribute names directly into document updates, especially for fields declared as read-only or immutable. Implement strict validation and sanitization of attribute names before applying updates. Monitor vendor advisories for any forthcoming patches or official guidance.
Description
Mongoid has a vulnerability where its read-only attribute protection can be bypassed if attribute names are supplied dynamically by the caller. This allows users with basic privileges to modify fields that the application expects to be immutable, potentially altering trusted data such as access control flags.