cve.bz

CVE-2026-126818 Mongoid 9.1.1 incomplete CVE-2026-93764 fix stores descendant-only encrypted fields in plaintext

7.1 high

High (7.1) in mongodb ruby driver.

On this page
A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in readable form without any error or warning. A database account holding only read access to the application's collections, and no access to the encryption key store, may obtain those values.

Severity

CVSS 4.0

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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE
CWE-311 Missing Encryption of Sensitive Data
OWASP Top 10
A06:2025 Insecure Design
Published
Assigned by
mongodb (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126818 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126818?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126818?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126818 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126818

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126818](https://cve.bz/cve/badge/CVE-2026-126818.svg)](https://cve.bz/cve/CVE-2026-126818)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126818"><img src="https://cve.bz/cve/badge/CVE-2026-126818.svg" alt="CVE-2026-126818"></a>

Affected

  • mongodb:ruby driver

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB Ruby Driver9.0.0
MongoDB Ruby Driver9.0.1
MongoDB Ruby Driver9.0.2
MongoDB Ruby Driver9.0.3
MongoDB Ruby Driver9.0.4
MongoDB Ruby Driver9.0.5
MongoDB Ruby Driver9.0.6
MongoDB Ruby Driver9.0.7
MongoDB Ruby Driver9.0.8
MongoDB Ruby Driver9.0.9
MongoDB Ruby Driver9.0.10
MongoDB Ruby Driver9.0.11
MongoDB Ruby Driver9.0.12
MongoDB Ruby Driver9.1.0
MongoDB Ruby Driver9.1.1

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-311 (14).

References

Check your stackJSON