Skip to content
DayZeroHub
High Not yet writtenCVSS 8.3CVE-2026-135227

CVE-2026-135227: Improper restriction of object attributes in Mongoid belongs_to assignment

MongoDB Ruby Driver

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135227: high-severity vulnerability (CVSS 8.3) in MongoDB Ruby Driver.

What happened

Original description from the source: An improper restriction of dynamically determined object attributes in the object-document mapping library's association handling allows structured input supplied in place of a simple identifier value to be turned into an object that is treated as an already-stored record of a caller-chosen model class. In applications that pass unfiltered request data into the affected association handling, an unauthenticated party may cause unintended modification or removal of stored records, and may render an individual record unreadable through that association.

Why it matters

High severity, CVSS 8.3.

Affected products and versions

MongoDB Ruby Driver >= 9.1.0, < 9.1.3

ProductVersionsFixed in
MongoDB Ruby Driver>= 9.1.0, < 9.1.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-915

Relevant change history

  1. Published

    Preliminary advisory published.