ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-135138

Mongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller.

CVSS
6.5Medium
Chance of exploitation (EPSS)
0.48%
Published
Nov 25, 2026
In the news
Not yet
More from this vendor

What to do

A moderate security flaw in Mongodb Ruby Driver that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 9.1.3

Affected versions
Mongodb Ruby Driver
3.0.0 to before 9.1.3

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.

CWE-915

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-135138 published (CVSS 6.5) (Nov 25, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Nov 25, 2026

  1. CVECVE-2026-135138 published (CVSS 6.5)CVE Program · 18:18 UTC

References 1

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”