Read the docs

Mongoid writes some encrypted fields to the database in plaintext

Priority LOW 30CWE-311Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-311.

Summary

The MongoDB Ruby Driver versions listed from 9.0.0 to 9.1.1 are affected. The object-document mapper does not apply its automatic field-level encryption to certain fields when the data model uses class inheritance, so values meant for encryption are written to the database in readable form without any error (CWE-311). A database account with only read access to the application's collections, and no access to the encryption key store, can read those values.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

EPSS 0.00101 0th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBRuby Driver9.0.0; 9.0.1; 9.0.2; 9.0.3; 9.0.4; 9.0.5; 9.0.6; 9.0.7; 9.0.8; 9.0.9; 9.0.10; 9.0.11; 9.0.12; 9.1.0; 9.1.1—No fix listedCNA
  • Ruby Driver VendorMongoDB Affected 9.0.0; 9.0.1; 9.0.2; 9.0.3; 9.0.4; 9.0.5; 9.0.6; 9.0.7; 9.0.8; 9.0.9; 9.0.10; 9.0.11; 9.0.12; 9.1.0; 9.1.1 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for MongoDB Ruby Driver.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-126818
  2. 2026-11-13 Alias added: GHSA-q5w2-57qp-493f

References

  • TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
  • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
See all 411 →

Sources