Skip to main content

Mongoid EUVDEUVD-2026-135623

| CVE-2026-135135 HIGH
Cleartext Storage of Sensitive Information (CWE-312)
2026-11-25 mongodb GHSA-jr9r-7gmf-6g53
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain read-only access to affected collection
  2. Exploit
    Query affected embedded document associations
  3. Execution
    Read supposedly-encrypted fields stored in cleartext
  4. Impact
    Exfiltrate sensitive data without encryption keys

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V14 - Data Protection Encrypted storage of sensitive data
Exploitation Conditions

Requires a deployment that uses Mongoid's automatic (in-use/field-level) encryption and declares encrypted fields on the affected embedded document associations - the flaw is that Mongoid builds an incomplete encryption schema for 'certain embedded document associations', so only those specific association configurations are exposed; the exact triggering pattern is not described in the available sources. Exploitation (reading the exposed values) requires a principal with basic read privileges on the affected collection, but notably does NOT require access to the encryption keys. Limiting factors: the attacker must already hold authenticated read access to the collection (PR:L), the application must actually use Mongoid auto-encryption on the vulnerable embedded associations (non-default, feature-dependent), and only the specific fields that fell through the incomplete schema are readable - fields correctly encrypted remain protected. There is no integrity or availability impact and no user interaction is required.

Impact

Signals are moderate and internally consistent rather than alarming. The CVSS 4.0 base score is 7.1 (High) with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N; PR:L confirms this is an authenticated exposure - the beneficiary is a principal who already holds basic read privileges on the affected collection but does not hold the encryption keys. Impact is confidentiality-only (VC:H, VI:N, VA:N), consistent with CWE-312 (cleartext storage): there is no code execution, integrity or availability impact. No EPSS score, no CISA KEV listing, and no public exploit were provided; the only reference is a MongoDB Jira tracking ticket (MONGOID-6050), not a working exploit, so exploitation is not demonstrated. The vuln.today decision label is 'this_week' (not act_now/emergency), aligning with a prioritize-but-not-drop-everything posture. This is a genuine data-at-rest exposure rather than a high-CVSS-but-hollow issue, and the silent-failure nature (values written in cleartext with no error or warning) raises practical concern because operators may wrongly believe fields are encrypted; however, it is not remotely mass-exploitable - realistic risk is scoped to insiders, compromised low-privilege service accounts, backup/replica access, or anyone with read access to the collection who lacks the keys. Two data caveats: the CPE and 'Ruby Driver' tag name mongodb:ruby_driver, while the description explicitly names Mongoid (the Ruby ODM) - verify affected-component scope with the vendor - and no fixed version is listed in the available evidence.

Exploit ScenarioDerived

A user, insider, or compromised service account holding only read privileges on a MongoDB collection - and no access to the encryption keys - queries embedded documents whose fields the application declared as encrypted; because Mongoid built an incomplete automatic encryption schema, those values were written in cleartext and are returned in readable form. No public exploit code is available; only a MongoDB Jira ticket (MONGOID-6050) documents the issue, and the specific embedded-association trigger pattern is not detailed in the available sources.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% 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's automatic encryption can write values that an application declared as encrypted into MongoDB in cleartext for certain embedded document associations, with no error or warning returned. Applications are affected when they use Mongoid automatic/in-use field-level encryption and declare encrypted fields on the specific embedded associations that produce an incomplete encryption schema; an authenticated principal with only basic read privileges on the affected collection, and without the encryption keys, can then read those exposed values. No public exploit code has been identified at time of analysis, and the CVSS 4.0 score is 7.1 (assessed CVSS 3.1: 7.1, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N), reflecting confidentiality impact only.

RemediationAI

No vendor-released patch or fixed version is identified in the available sources; MONGOID-6050 (https://jira.mongodb.org/browse/MONGOID-6050) is the tracking issue to monitor for a fix. Until a patched release is available, audit Mongoid models for encrypted fields declared on embedded document associations and verify whether the generated encryption schema includes those fields; for affected associations, do not rely on Mongoid automatic encryption-either encrypt the values in application code before persistence or avoid declaring encryption on those embedded associations, accepting the added application complexity and key-management burden. Because the exposure is readable by an authenticated principal with basic read privileges and no access to encryption keys, restrict read access to affected collections to trusted application identities; this limits who can retrieve the cleartext values but does not correct the underlying schema-generation defect.

Affected VersionsENISA

Ruby Driver 9.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 MongoDB's object-document mapper for Ruby applications. Its automatic encryption feature-also described as in-use or field-level encryption-relies on a generated schema that tells the driver which fields must be encrypted before being sent to MongoDB. For certain embedded document associations, Mongoid builds an incomplete schema, so declared encrypted fields are omitted from the encryption map and their values are persisted as plaintext. This is CWE-312 (Cleartext Storage of Sensitive Information): the database stores readable values even though the application's model declares encryption. The CPE entry cpe:2.3:a:mongodb:ruby_driver:*:*:*:*:*:*:*:* identifies the MongoDB Ruby driver family, but the issue is specifically in Mongoid's schema generation for affected embedded associations. The flaw requires a non-default deployment that uses automatic encryption and declares encrypted fields on those associations; the exact triggering pattern is not described in the available sources. Fields that are correctly included in the schema remain encrypted. No integrity or availability impact is described.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Reader needs authenticated low-privilege collection access (PR:L) over the DB network (AV:N) but not the keys; confidentiality-only exposure (C:H), no integrity/availability impact, scope unchanged.

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

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
None
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:46 cve.org
HIGH 7.1

DescriptionCVE.org

Mongoid builds an incomplete automatic encryption schema for certain embedded document associations. As a result, values that the application declared as encrypted may be written to the database in cleartext, with no error or warning returned to the application. A party holding only basic read privileges on the affected collection, and no access to the encryption keys, may then obtain those values in readable form.

Executive ViewAI

Why It Matters

Mongoid's field-level encryption may silently write sensitive data in cleartext for embedded document associations, potentially exposing confidential information to unauthorized readers. This flaw affects applications using automatic encryption and could lead to data breaches, regulatory non-compliance, and reputational damage. Leadership must prioritize remediation to protect customer trust and avoid legal penalties.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict database read access to authorized users only, enable audit logging for affected collections, and consider application-level encryption for sensitive fields until a patch is available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
standard MongoDB ODM for Ruby apps; common but niche to Ruby ecosystem
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
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
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-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

CVE-2026-135139 MEDIUM
6.0 Nov 25

Incorrect authorization in Mongoid's bulk-removal handling for referenced associations can delete records the caller nev

Vendor StatusVendor

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