Skip to main content

Mongoid EUVDEUVD-2026-135620

| CVE-2026-135139 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-25 mongodb GHSA-9p32-jgc3-hmrv
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Exploit
    Issue bulk removal with crafted filter on referenced association
  3. Execution
    Pre-attached association condition overrides supplied filter
  4. Impact
    Unintended sibling records under same parent removed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated user with basic privileges in an application built on Mongoid (PR:L confirmed by the CVSS 4.0 vector). The critical prerequisite (AT:P) is that the targeted referenced association already has conditions attached (for example a scope or where-clause on a has_many/referenced association); during a bulk removal those pre-attached conditions take precedence over the caller-supplied filter. Limiting factors: a valid low-privilege account is needed, exploitation only occurs against associations configured with such conditions (not a universal default), and impact is confined to records belonging to the same parent record - a caller cannot reach arbitrary unrelated data. No user interaction is required (UI:N).

Impact

Signals are moderate and internally consistent rather than alarming. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N) scores 6.0 (medium): network-reachable and low-complexity, but it requires an existing low-privilege account (PR:L) and carries an attack requirement (AT:P), with impact limited to integrity (VI:H) - no confidentiality (VC:N) or availability (VA:N) effect, even though the outcome is record removal. No EPSS score, no CISA KEV listing, and no public exploit were provided; the only reference is a MongoDB Jira ticket (MONGOID-6030), which is an issue tracker entry, not verified exploit code. The vuln.today decision label is 'this_month', not act_now/emergency. Net: this is a real but bounded authorization defect, not a high-CVSS-but-illusory issue and not a drop-everything emergency - damage is scoped to records under the same parent and needs a valid basic-privilege account. Note a data caveat: the CPE identifies 'mongodb:ruby_driver', but the description and CWE-863 clearly concern Mongoid (the Ruby ODM), a distinct component - verify the affected package and fixed version with MongoDB.

Exploit ScenarioDerived

A user holding a basic (low-privilege) account in a Ruby/Rails application built on Mongoid invokes a bulk removal through a referenced association whose definition already carries a scope or where-condition. That pre-attached condition takes precedence over the filter the user supplied, so the operation deletes sibling records under the same parent that the user did not select. No public exploit identified at time of analysis; the only reference is a MongoDB Jira ticket, not verified working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Incorrect authorization in Mongoid's bulk-removal handling for referenced associations can delete records the caller never selected, because conditions already attached to the association take precedence over the caller-supplied filter. Exploitation requires an authenticated user with basic application privileges (CVSS 4.0 PR:L) plus an association that already carries such conditions (AT:P), and the impact is integrity-only, confined to records belonging to the same parent record. No public exploit code and no CISA KEV entry were identified at time of analysis; the MongoDB tracking issue is MONGOID-6030, and the vuln.today decision label is this_month.

RemediationAI

No vendor-released patch version is identified in the available data, so the fix state must be confirmed against MongoDB JIRA issue MONGOID-6030 (https://jira.mongodb.org/browse/MONGOID-6030) before upgrading, and the gem should be pinned to whatever release that ticket names as containing the correction. Until a fixed release is confirmed, the most direct compensating control is to stop routing low-privilege callers into bulk-removal operations on referenced associations that already carry conditions; this removes the attack surface entirely but adds an application-layer authorization check and may require reworking existing delete endpoints. Where bulk removal must stay available, explicitly intersect the association criteria with the caller's filter (an explicit $and of both condition sets) and verify the resolved record set before deletion - effective but it duplicates query logic and must be applied at every call site. A third option is to audit-log and gate bulk deletions behind a higher privilege level, accepting the usability cost of elevated approvals. Database-side role restrictions on the Mongoid connection do not help here because the removal is issued with the application's own credentials; only application-level enforcement changes the outcome.

Affected VersionsENISA

Ruby Driver 2.1.0 <9.1.3

Affected Packages

euvd ruby_driver fix: 9.1.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mongoid is MongoDB's object-document mapper for Ruby, mapping documents to Ruby objects and exposing associations whose reads and writes are executed as MongoDB queries carrying criteria already declared on the association. The weakness is CWE-863 (Incorrect Authorization): when a caller performs a bulk removal through such a referenced association, the pre-attached association conditions are combined with - and can take precedence over - the filter supplied by the caller, so the criteria actually executed do not narrow the operation to the records the caller selected. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N, with all subsequent-system metrics N) matches the independent assessment (CVSS 3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N): network-reachable through the application, integrity-only, no confidentiality or availability effect, and no downstream impact beyond the vulnerable component. The AT:P prerequisite is confirmed by the description itself - the targeted association must already have conditions attached (for example a scope or where-clause on a referenced has_many-style association); on associations without such conditions the precedence problem does not arise, so this is a configuration-dependent exposure rather than a universal default. Impact stays inside the blast radius of the parent record, meaning a caller cannot reach arbitrary unrelated data, and the exact library entry points involved are not named in the available sources.

Know when Mongoid gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mongodb) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Authenticated basic user (PR:L) over the network (AV:N); AC:H reflects the dependency on an association carrying pre-attached conditions; impact is unauthorized record removal (I:H) with no confidentiality or availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 25, 2026 - 19:18 EUVD

DescriptionCVE.org

Mongoid contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association. Conditions already attached to the association can take precedence over the filter the caller supplied, so records the caller did not select may be removed. A user with basic privileges in an application built on the library may cause unintended removal of records belonging to the same parent record.

Threat Intelligence Overview

EPSS Score
0.5%
Top 69% exploitable
Prevalence
Medium
official MongoDB ODM for Ruby; common within Ruby/Rails-on-MongoDB apps, not universal
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-93762 CRITICAL POC
9.2 Sep 18

Data disclosure and permanent record deletion in Mongoid can be triggered by an unauthenticated remote attacker when an

CVE-2026-93759 HIGH POC
8.8 Sep 18

Code injection in Mongoid allows unauthenticated attackers who can influence a query argument to execute arbitrary JavaS

CVE-2026-93761 HIGH POC
8.7 Sep 18

CPU exhaustion in MongoDB's Mongoid Ruby ODM allows an unauthenticated remote party to render an embedding application u

CVE-2026-93758 HIGH POC
8.6 Sep 18

Insecure direct object reference in Mongoid's nested-attributes handling lets an authenticated user with basic applicati

CVE-2026-93765 HIGH POC
8.3 Sep 18

Unsafe reflection (CWE-470) in Mongoid's document persistence layer allows a crafted key to be reflected into an interna

CVE-2026-93760 HIGH POC
8.3 Sep 18

Unauthenticated, remote query-operator injection in Mongoid - the official MongoDB object-document mapper for Ruby - all

CVE-2026-93763 HIGH POC
7.1 Sep 18

Silent, warning-free failure of encryption-configuration generation in the Mongoid object-document mapper causes fields

CVE-2026-93764 HIGH POC
7.1 Sep 18

Mongoid can silently persist values in readable form that applications intended to encrypt, because its client-side fiel

CVE-2026-135135 HIGH
7.1 Nov 25

Mongoid's automatic encryption can write values that an application declared as encrypted into MongoDB in cleartext for

CVE-2026-126817 MEDIUM
6.0 Nov 13

Mongoid's automatic client-side encryption can silently store values that an application declared for encryption as clea

CVE-2026-135138 MEDIUM
6.0 Nov 25

Mongoid, MongoDB's Ruby object-document mapper, does not consistently enforce its read-only attribute protection when at

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy