cvelo
P3 · MediumCVSS 4.3

Cleartext storage of encrypted foreign key fields in Mongoid

  • CVE-2026-135140
  • GHSA-qwcj-f6jg-p4gj
  • EUVD-2026-135619

Description

Mongoid may omit a field from the client-side encryption settings it generates for a collection when that same field is also used as a reference to another record. The value is then stored in readable form instead of encrypted, and the application receives no indication that this has happened. A party with ordinary authenticated read access to the affected collection may be able to view data that was intended to be protected.

Text from the CVE.org record.

Affected

  • MongoDB Ruby Driver

    • from 9.0.0 to before 9.1.3

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.