What is CVE-2026-135227?
CVE-2026-135227 is a high-severity business logic flaw vulnerability in MongoDB Ruby Driver, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-915
How severe is CVE-2026-135227?
CVE-2026-135227 scores 8.3 out of 10 under CVSS 4.0, which is high severity. It was scored by Mongodb.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-135227?
An affected version is only exploitable if your software calls belongs_to. Many projects that include it are not exposed.
How do I fix CVE-2026-135227?
No fix has been published for CVE-2026-135227 yet. Limit exposure of the affected software until one is available.
Upgrade, and enforce each rule on the server at every step. More about Business logic flaw.
Is CVE-2026-135227 being exploited?
There is no known exploitation of CVE-2026-135227 in the wild and no public exploit code.
Sources
Also known as GHSA-9h3x-67qv-f384.