CVE-2026-126817

Mongoid stores encrypted fields in plaintext when two models share a collection

  • Medium 6.5

Description

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.

Key facts

Published
13 Nov 2026
Last changed
13 Nov 2026
Assigned by
mongodb
EPSS
0.101% likely to be exploited in the next 30 days, higher than 0.914% of CVEs (scores for 15 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 6.0CVSS 4.0, Mediumfrom the CNA (mongodb)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
  • 6.5CVSS 3.1, Mediumfrom the CNA (mongodb)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
MongoDBRuby Driver
  • Default status: unaffected
  • 9.0.0 (affected)
  • 9.0.1 (affected)
  • 9.0.2 (affected)
  • 9.0.3 (affected)
  • 9.0.4 (affected)
  • 9.0.5 (affected)
  • 9.0.6 (affected)
  • 9.0.7 (affected)
  • 9.0.8 (affected)
  • 9.0.9 (affected)
  • 9.0.10 (affected)
  • 9.0.11 (affected)
  • 9.0.12 (affected)
  • 9.1.0 (affected)
  • 9.1.1 (affected)

Timeline

  1. 13 Nov 2026 Published

Weakness

References