Patch Ticker
EnglishEN
Elevated

Mongoid drops model default restriction, exposing others' records

CVE-2026-135141 and 5 more

Database tools in Ruby apps can let users steal others' records.

CVE
CVE-2026-135141 and 5 more
Score
CVSS 8.6 · CVE-2026-135141
First seen
8.6
Products
Disclosed together MongoDB Ruby Driver

Mitigation

Update to MongoDB Ruby Driver 9.1.3 or later. This fixed version covers all six CVEs.

Summary

A query-building flaw in Mongoid drops a model's default restriction, so a user with basic privileges can read, change, or remove records that should be withheld. The same release also fixes flaws in association handling, encrypted fields, and read-only attribute protection.

Affected when

  • CVE-2026-135141 a model uses a default scope
  • CVE-2026-135227 unfiltered request data passed into belongs_to association handling
  • CVE-2026-135135 encrypted fields in embedded documents using store_as
  • CVE-2026-135139 has_many association uses delete_all
  • CVE-2026-135138 caller-supplied attribute names forwarded into document updates
  • CVE-2026-135140 an encrypted field also used as a reference to another record

6 other Incidents of this product in the last 30 days

Incidents by product: MongoDB Ruby Driver

Other recent Incidents of MongoDB Ruby Driver

6 CVEs (every link below opens in a new tab)

Read the write-up · jira.mongodb.org (opens in a new tab)

Each of the 6 CVEs (every link below opens in a new tab)

Show 3 more