cvelo
P3 · MediumCVSS 6.5EPSS 0.1%

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

  • CVE-2026-126817
  • GHSA-jw2c-7599-4ghc
  • EUVD-2026-125452

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • MongoDB Ruby Driver

    Affected versionsFixed in
    9.0.0none stated
    9.0.1none stated
    9.0.2none stated
    9.0.3none stated
    9.0.4none stated
    9.0.5none stated
    9.0.6none stated
    9.0.7none stated

    and 7 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.