Mongoid Ruby ODM Improper Field-Level Encryption Bypass
CVE-2026-126818 Published on November 13, 2026
Mongoid 9.1.1 incomplete CVE-2026-93764 fix stores descendant-only encrypted fields in plaintext
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.
Vulnerability Analysis
CVE-2026-126818 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Missing Encryption of Sensitive Data
The software does not encrypt sensitive or critical information before storage or transmission. The lack of proper data encryption passes up the guarantees of confidentiality, integrity, and accountability that properly implemented encryption conveys.
Affected Versions
MongoDB Ruby Driver:- Version 9.0.0 is affected.
- Version 9.0.1 is affected.
- Version 9.0.2 is affected.
- Version 9.0.3 is affected.
- Version 9.0.4 is affected.
- Version 9.0.5 is affected.
- Version 9.0.6 is affected.
- Version 9.0.7 is affected.
- Version 9.0.8 is affected.
- Version 9.0.9 is affected.
- Version 9.0.10 is affected.
- Version 9.0.11 is affected.
- Version 9.0.12 is affected.
- Version 9.1.0 is affected.
- Version 9.1.1 is affected.