Read the docs

Mongoid writes encrypted fields in cleartext when models share storage

Priority LOW 26CWE-312Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
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-312.

Summary

The MongoDB Ruby Driver is affected in the listed versions from 9.0.0 to 9.1.1. The automatic client-side encryption schema generation of the Mongoid ODM can store values declared for encryption as cleartext when more than one model maps to the same storage location, and no error or warning is raised (CWE-312). A party with an ordinary read-only database account and no access to the encryption key material can read those values in clear form.

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

Description from the CNA

A flaw in the automatic client-side encryption schema generation of the Mongoid ODM may cause values that an application declared for encryption to be written and stored as cleartext when more than one model is mapped onto the same storage location. No error or warning is raised. A party holding an ordinary read-only database account, with no access to the encryption key material, may then obtain those values in clear form.

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-126817
  2. 2026-11-13 Alias added: GHSA-jw2c-7599-4ghc

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