Skip to main content

Mongoid EUVDEUVD-2026-135618

| CVE-2026-135141 HIGH
Incorrect Authorization (CWE-863)
2026-11-25 mongodb GHSA-fpw8-vqgq-r7xv
8.6
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with basic application privileges
  2. Exploit
    Send ordinary request to Mongoid-backed endpoint
  3. Execution
    Model default restriction silently discarded in query
  4. Impact
    Read, modify, or delete withheld records

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

Exploitation requires an application that relies on a Mongoid model-level default restriction (a default scope intended to return no records) for access control, and that restriction being combined into a query where the flaw causes it to be silently discarded. The attacker must hold basic authenticated application privileges (PR:L) - it is not anonymous - but needs no elevated role, no user interaction, and only an ordinary request (AV:N/AC:L/UI:N). The principal limiting factor is that the application must depend on Mongoid default restrictions to withhold records; applications that enforce access control at a different layer are not exposed through this specific mechanism. The precise code-level trigger (which query-building operations cause the restriction to be dropped) is not described in the available sources.

Impact

This is a credible this-week priority rather than a theoretical high-CVSS issue. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) describes a remotely reachable, low-complexity authorization flaw requiring only basic application privileges, with high confidentiality and integrity impact - a profile that maps cleanly to a broken-access-control bug (CWE-863, Incorrect Authorization). The vendor-assigned decision label is 'this_week', consistent with a serious but not emergency item. Key risk-tempering signals are missing from the input: no EPSS probability is provided, the vulnerability is NOT in CISA KEV (no confirmed active exploitation), and no proof-of-concept or working exploit is referenced - the only reference is the MONGOID-6025 Jira tracking ticket, not exploit code. One data conflict must be verified: the CPE lists 'mongodb:ruby_driver' while the description and the MONGOID-6025 ticket both identify the Mongoid ODM, which is a distinct library from the MongoDB Ruby driver - confirm the exact affected package with the vendor. Net: a real, easily-triggered authorization bypass that warrants prompt patching, but current data shows no evidence of widespread or active exploitation.

Exploit ScenarioDerived

A low-privileged but authenticated application user sends an ordinary request to an endpoint backed by a Mongoid model whose model-level default restriction is supposed to return no records; because the restriction is silently dropped when combined into the query, the user reads, modifies, or deletes records that should have been withheld. No proof-of-concept or working exploit code is referenced - only the MONGOID-6025 tracking ticket exists. With AV:N/AC:L/PR:L the attack is remote and low-complexity, needing only valid basic credentials and no user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Mongoid, the MongoDB object-document mapper for Ruby, silently drops a model-level default restriction - a default scope intended to return no records - when that restriction is combined into a query, so an authenticated user holding only basic application privileges can read, modify, or delete records the restriction was meant to withhold through an ordinary request. The defect is an incorrect-authorization logic error (CWE-863) scored 8.6 under CVSS 4.0 and tracked as a this-week priority by the reporting source; exposure is confined to applications that actually rely on Mongoid default restrictions for access control and that route user-influenced criteria through the affected query-building path. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the specific query-building operations that cause the restriction to be discarded are not described in the available sources.

RemediationAI

No vendor-released patch version is identified in the supplied intelligence, so the primary action is to track MONGOID-6025 (https://jira.mongodb.org/browse/MONGOID-6025) for the fixed Mongoid release and upgrade as soon as that version is published. Until then, stop treating Mongoid model-level default restrictions as an authorization boundary: audit every model that declares a deny-all default scope and add explicit, per-query user or tenant filters to each call site, accepting the code churn and the risk of missing call sites that this refactor carries. Alternatively, centralize the record-level check in an application policy or middleware layer that runs after Mongoid returns results, which reduces reliance on query composition but adds latency and requires every data-access path to be routed through it. Also review query-building paths that merge user-supplied criteria into scoped queries, and restrict or validate untrusted query parameters until a patched release is applied; note that the trigger conditions for the restriction being dropped are not described in the available sources, so any such testing must be derived from the vendor advisory rather than assumed.

Affected VersionsENISA

Ruby Driver 4.0.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 the official Ruby object-document mapper for MongoDB; it translates Ruby model scopes and query criteria into MongoDB query documents. This issue sits in the query-building layer rather than in MongoDB itself: when a model defines a default restriction meant to yield an empty result (a deny-all style default scope) and that restriction is later combined with other criteria during query composition, the restriction is discarded instead of being ANDed into the final selector. The result is an authorization failure (CWE-863, Incorrect Authorization) in which the database returns documents the model-level policy intended to hide. The supplied CPE string, cpe:2.3:a:mongodb:ruby_driver:*:*:*:*:*:*:*:*, is unbounded and appears to map the MongoDB Ruby driver family rather than a precise Mongoid gem version, so the exact affected release range is not enumerated in the available data. Exploitation requires a target application that depends on this Mongoid default-restriction mechanism for record-level withholding; applications enforcing authorization in a separate service or policy layer are not reached through this specific code path. The precise composition operations that trigger the drop are not described in the sources.

Know when MongoDB 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 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Remote low-privilege authenticated user (PR:L) sends an ordinary request (AC:L/UI:N); the dropped restriction exposes and lets them alter withheld records (C:H/I:H) with no availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 25, 2026 - 19:18 EUVD
CVE Published
Nov 25, 2026 - 17:44 cve.org
HIGH 8.6

DescriptionCVE.org

A logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined into a query. A user with basic application privileges who sends an ordinary request may read, change, or remove records that the restriction was intended to withhold.

Executive ViewAI

Why It Matters

A high-severity authorization flaw in Mongoid, the MongoDB object-document mapper used by Ruby applications, causes model-level default restrictions to be silently dropped during query building, letting authenticated users with only basic privileges access, alter, or delete records those restrictions were designed to protect. This affects any application that relies on Mongoid default scopes as an access-control boundary. Leadership should care because this can result in unauthorized data exposure and tampering within business applications, with potential integrity, confidentiality, and compliance consequences.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce authorization explicitly in application code rather than relying on Mongoid default scopes, validate and constrain user-supplied query criteria, restrict database credentials to least privilege at the collection level, and monitor/alert on unusual read, update, or delete activity for protected record sets.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Medium
popular Ruby ODM but limited to Ruby/MongoDB application stacks
Social Media
2
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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

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