Skip to main content

Mongoid EUVDEUVD-2026-83199

| CVE-2026-93763 HIGH
Cleartext Storage of Sensitive Information (CWE-312)
2026-09-18 mongodb GHSA-5qw9-p5cj-5jx4
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 ordinary DB read access
  2. Exploit
    App silently stores CSFLE fields cleartext
  3. Execution
    Query collection for protected fields
  4. Impact
    Read sensitive values intended to be encrypted

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 a specific deployment: an application built on Mongoid that uses MongoDB client-side field-level encryption (CSFLE) and declares fields for encryption, hitting the buggy encryption-configuration generation path so those fields are silently persisted in cleartext. The disclosure step then requires a party to already hold ordinary read access to the database (e.g. DBA, read replica, backup, or a lower-privilege account with query rights). Applications that do not use CSFLE via Mongoid are unaffected. The limiting factor is that no remote code path triggers disclosure - it is data-at-rest exposure gated on both the misconfigured-encryption code path and possession of database read credentials; the silent, warning-free failure is what makes the condition easy to miss operationally.

Impact

This is a genuine but conditional data-protection failure rather than an actively exploited priority. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, 7.1) captures it well: pure confidentiality impact, no integrity or availability effect. Critically, the 'attacker' here is not remote-unauthenticated despite AV:N - PR:L reflects that disclosure requires ordinary read access to the underlying MongoDB database (the flaw silently stores CSFLE-declared fields in cleartext; someone must then read them). This is a fail-open protection-mechanism bug (CWE-312), which is dangerous precisely because it is silent - no error or warning alerts operators that encryption was skipped. No EPSS score, no CISA KEV listing, and no POC are present in the input, so there is no evidence of exploitation activity; risk is latent (data-at-rest exposure) rather than dynamic. The main missing signal is a confirmed fixed version - the only reference is a Jira ticket (MONGOID-5984) with no advisory body or patch version, so remediation guidance cannot be independently verified from the provided data.

Exploit ScenarioDerived

An application uses Mongoid with client-side field-level encryption to protect sensitive fields (e.g. PII, secrets), but the flawed encryption-config generation silently writes those fields in cleartext. A DBA, read-replica consumer, backup holder, or any principal with ordinary database read access - who was never intended to see the protected values - queries the collection and reads the sensitive data directly. No public exploit code is identified at time of analysis; exploitation requires no crafted payload, only routine read access to data that should have been encrypted.

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

Silent, warning-free failure of encryption-configuration generation in the Mongoid object-document mapper causes fields that an application explicitly declared for client-side field-level encryption (CSFLE) to be written to MongoDB as cleartext, allowing any party with ordinary read access to the database - a DBA, a read replica, a backup, or a lower-privilege account with query rights - to read values that were intended to be protected from them. Only applications built on Mongoid that use MongoDB CSFLE and declare fields for encryption are affected; the CVSS vectors (the supplied 4.0 vector with PR:L and the independently assessed 3.1 vector with PR:L) indicate the attacker requires some existing privilege, consistent with the assessed precondition of ordinary database read access rather than an unauthenticated remote path. No public exploit code has been identified at time of analysis, and this is assessed as a genuine but conditional data-protection failure rather than an actively exploited priority.

RemediationAI

No vendor-released patch is identified in the available data and no fixed version can be cited, so remediation must begin with tracking the vendor ticket referenced by the CVE, https://jira.mongodb.org/browse/MONGOID-5984, and applying the corrected Mongoid release as soon as it is published - do not assume any current version is safe. Until then, the highest-value compensating control is detection and verification: read affected documents back through a separate, low-privilege MongoDB client and confirm that the fields you declared for encryption are actually stored as BSON binary subtype 6 (encrypted) rather than as plaintext values; if they are plaintext, assume disclosure to anyone with read access. Where possible, stop relying on ODM-generated encryption configuration and supply an explicit JSON schema map with the required encrypt and encryptMetadata entries, then assert on the generated configuration in your test suite so a regression fails loudly instead of silently - the trade-off is added maintenance and the need to keep the hand-written schema in sync with model changes. Reduce the blast radius of the read-access precondition by tightening database authorisation: remove read rights on the encrypted collections from DBA, reporting, analytics and replica-serving accounts that do not strictly need them, and restrict access to backups and read replicas, accepting that this constrains operational and backup workflows. Enabling storage-level encryption at rest does not remediate this bug but limits exposure from stolen disks or snapshots, and because already-written cleartext values stay cleartext, any fix should be paired with an assessment of which records were stored unprotected and, where warranted, re-encryption or key-rotation-driven rewriting of those documents.

Affected VersionsENISA

Mongoid 9.1.0
Mongoid 9.0.0 ≤9.0.11

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 MongoDB's Ruby object-document mapper (ODM): it maps Ruby model classes onto MongoDB collections and, when client-side field-level encryption (CSFLE) is in use, it is responsible for deriving the encryption configuration - the JSON schema map and accompanying encrypt/encryptMetadata metadata that the MongoDB driver consumes to encrypt and decrypt declared fields automatically. The flaw is a protection-mechanism failure (CWE-312, cleartext storage of sensitive information) in that configuration generation step: fields the application declared for encryption are not represented (or are represented incorrectly) in the generated configuration, so the driver never applies encryption to them and they are persisted, and remain, in plaintext. Because the failure is silent - no exception, no log line, no warning surfaced to the application - the misconfiguration is not detectable from normal application behaviour, and the affected documents look perfectly normal to the application while being readable in the clear at the storage layer. Exposure therefore happens at rest rather than through a remote code path: the disclosure step is a second party who already holds read access to the affected collections (or their replicas or backups). Environments that do not use Mongoid-driven CSFLE, that use CSFLE via a different driver or an explicitly supplied schema map, or that simply do not declare encrypted fields, do not exercise the vulnerable code path.

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

Reading the leaked cleartext requires ordinary database read access (PR:L) over the network (AV:N); pure high confidentiality impact with no integrity or availability effect.

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

A protection mechanism failure in the object-document mapper's encryption configuration generation can cause fields that an application declared for client-side field-level encryption to be written and kept in cleartext, without any error or warning. A party holding ordinary read access to the database can then read values that were intended to be protected from that party. This may result in unintended disclosure of sensitive information.

Executive ViewAI

Why It Matters

A defect in the Mongoid object-document mapper for MongoDB silently writes fields that applications explicitly declared for client-side field-level encryption (CSFLE) to the database as cleartext. Any organization running Mongoid-based applications with MongoDB CSFLE is affected, and the failure is invisible: no warning or error is raised, so sensitive values intended to be protected are readable by DBAs, read replicas, backup copies, and lower-privilege accounts with ordinary query rights. Leadership should treat this as a data-protection and compliance exposure rather than an availability issue, because it defeats the specific control that was meant to shield regulated or sensitive fields from insiders and from downstream copies of the data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; no public exploit identified at time of analysis, and the attacker path is authenticated (PR:L per the supplied CVSS vector), consistent with a party already holding ordinary read access rather than an unauthenticated remote attack. Interim mitigations: verify whether declared-encrypted fields are in fact stored as cleartext; apply encryption at the application layer before persistence so protection does not depend on the failing CSFLE configuration path; isolate or remove affected fields from reliance on MongoDB CSFLE until a fix is available; restrict read access to the affected databases, read replicas, and backups to the minimum necessary accounts; monitor and audit reads of the affected collections; and treat all previously written data as potentially unencrypted for privacy and compliance purposes.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
official MongoDB Ruby ODM, but Ruby plus MongoDB plus CSFLE is a narrower subset
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