Skip to main content

Mongoid EUVDEUVD-2026-83195

| CVE-2026-93764 HIGH
Cleartext Storage of Sensitive Information (CWE-312)
2026-09-18 mongodb GHSA-p3g7-qcr8-3pgm
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 access to DB/backup/data files
  2. Exploit
    Locate fields intended for CSFLE on embedded models
  3. Execution
    Observe values stored in cleartext
  4. Impact
    Recover sensitive data outside application boundary

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

Exploitation requires all of: (1) the application enables Mongoid's client-side field-level encryption (CSFLE) feature, (2) it declares fields intended for encryption on EMBEDDED models (top-level document fields are not implicated by this description), and (3) the party has read access to the MongoDB data - routine database read access, a database backup, or the underlying on-disk data files. The limiting factors are significant: this is not remote code execution and grants no write/integrity impact; it only exposes data at rest to someone who already has some form of database/backup/file read access, and only for apps that both use CSFLE and place encrypted fields on embedded documents. There is no active exploitation and no public exploit code identified at time of analysis.

Impact

This is a genuine but bounded confidentiality risk, and the signals are internally consistent. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, 7.1) describes a pure confidentiality impact with no integrity or availability effect, which matches the description of a data-at-rest exposure. The real 'attack' is not an active exploit against a running service - it is that a party with routine read access to the database, a backup, or the underlying data files reads values that were supposed to be encrypted client-side. My independent read is that PR:L is appropriate (the reader needs some level of database/backup/file read access) and AV:N is defensible but slightly generous, since reading a backup or the underlying data files can be a local rather than network operation. No EPSS score, no CISA KEV entry, and no public exploit code are present in the input; there is nothing to 'weaponize' here beyond ordinary data access. This is a real correctness/data-protection defect worth remediating for teams relying on Mongoid CSFLE, but it is not an urgent internet-facing exploitation priority - its severity depends entirely on whether the affected app enables client-side field-level encryption AND declares encrypted fields on embedded models.

Exploit ScenarioDerived

An application uses Mongoid's client-side field-level encryption and declares sensitive fields (e.g., SSN, PAN) on an embedded document; because Mongoid omits the encryption rules for those embedded-model fields when generating the CSFLE schema, they are written to MongoDB in cleartext with no error or warning. A DBA, an attacker who obtains a database backup, or anyone with read access to the underlying data files later reads those values directly, defeating the encryption the developers believed was in effect. No public exploit code is identified in the input; exploitation is passive data reading rather than an active code-execution chain.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 18, 2026

Mongoid can silently persist values in readable form that applications intended to encrypt, because its client-side field-level encryption (CSFLE) schema generation omits encryption rules for fields declared on embedded models - the MongoDB driver then writes those values unencrypted with no error or warning. The exposure is limited to applications that both enable CSFLE and declare encrypted fields on embedded documents (top-level fields are not implicated), and to parties who already hold read access to the database, a backup, or the underlying on-disk data files; there is no write, integrity, or availability impact and no remote code execution. Data-level risk is real but bounded: no public exploit code identified at time of analysis, no confirmed active exploitation, and the reported CVSS 4.0 base score of 7.1 is consistent with the independent CVSS 3.1 assessment of 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

RemediationAI

No vendor-released patch or fixed version was identified in the available data; remediation status should be confirmed against the upstream tracking issue at https://jira.mongodb.org/browse/MONGOID-5989 before relying on a release fix. Until a patched Mongoid release is confirmed, the most direct compensating control is to stop depending on auto-generated schema for embedded models: explicitly supply the CSFLE schema map (or explicitly register the encrypted field paths of embedded models with the driver) and verify at startup that every field path intended for encryption appears in the schema map with the expected algorithm and keyId. The trade-off is that a hand-maintained schema map must be updated whenever models change, and drift reintroduces the same silent plaintext failure, so pair it with automated assertions or tests that inspect a written document for the expected BSON subtype 6 (encrypted) rather than assuming it. As a secondary risk-reduction measure, treat the affected field data as already exposed: rotate or re-encrypt any secrets previously written to those fields, and re-write affected records once encryption is confirmed working - noting that re-encryption alone does not invalidate data already captured in backups or on disk. Restricting database read access, tightening backup and snapshot permissions, and applying storage- or volume-level encryption reduce exposure to the 'read access to data files/backups' vector, but their side effect is that they do not protect against an actor with legitimate MongoDB-level read credentials, which is precisely the primary threat path here; disabling CSFLE entirely is not an acceptable substitute, since it converts a silent failure into a broad one. Finally, review whether the encrypted embedded fields can be promoted to top-level document fields, which the reported issue does not affect, at the cost of a data migration.

Affected VersionsENISA

Mongoid 9.0.0 ≤9.0.11
Mongoid 9.1.0

Affected Packages

euvd mongoid no fix

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 (ODM) for MongoDB, and client-side field-level encryption (CSFLE) is a MongoDB driver feature in which the driver - not the server - encrypts specified BSON fields before transmission, using an explicit JSON schema map that pairs each field path with an encryption algorithm and key. Mongoid generates that schema map from model declarations; when an encrypted field is declared on an embedded model, the generated rule is missing, so the driver regards the field as ordinary plaintext and stores it as such. Because the driver is behaving correctly given an incomplete schema, the failure is entirely silent - no exception, no log entry, no deprecation warning - which is the classic CWE-312 (Cleartext Storage of Sensitive Information) pattern. The provided CPE cpe:2.3:a:mongodb_inc.:mongoid:*:*:*:*:*:*:*:* uses a wildcard and does not enumerate a version range, so the affected version set is not pinned by the available data; the upstream tracking reference is the MongoDB Jira issue MONGOID-5989.

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

Pure confidentiality (C:H) from cleartext-at-rest exposure; PR:L for required database/backup read access; AV:N accepted though backup/data-file reads may be local; no integrity or availability impact.

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

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

DescriptionCVE.org

Mongoid may omit encryption rules for fields declared on embedded models when generating the client-side field-level encryption schema. Applications that enable this feature can therefore store values intended to be encrypted in readable form, with no error or warning. A party with routine read access to the database, a backup, or the underlying data files may then see data that was meant to remain unreadable outside the application.

Executive ViewAI

Why It Matters

Mongoid's client-side field-level encryption silently fails to protect fields declared on embedded documents, so data that application teams and compliance programs believe is encrypted may be written to MongoDB, backups, and on-disk files in readable form with no error or warning. Only applications that both enable CSFLE and declare encrypted fields on embedded models are affected, and reaching the data requires an attacker to already hold authenticated read access to the database or its underlying storage - there is no write, integrity, availability, or code-execution impact, and no public exploit identified at time of analysis. Leadership should care because this quietly erodes an encryption control that may underpin regulatory or contractual data-protection commitments, and no vendor patch was identified at time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations: independently verify actual encryption by inspecting stored documents, snapshots, and on-disk data files rather than trusting schema configuration; restrict authenticated read access to databases, backups, and underlying storage to a minimal set of privileged identities; apply storage- and backup-level encryption and access controls; refactor encrypted embedded fields into top-level documents, which are not implicated by this issue, or add application-layer encryption before the Mongoid write path; and re-encrypt or purge existing plaintext values and rotate data-encryption keys where exposure is confirmed.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
official MongoDB Ruby ODM, but CSFLE-on-embedded-fields path is narrow
Exploit
POC
Public exploit code exists
Data Quality
5 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 Yes
EPSS 0.1%
Patch available No
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

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
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.

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