CVE-2026-135140
published medium CVSS 4.0 · 5.3Cleartext storage of encrypted foreign key fields in Mongoid
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Ruby Driver9.0.0 to < 9.1.3 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Ruby Driver | 9.0.0 to < 9.1.3 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-312 CWE-312: Cleartext Storage of Sensitive Information
References
1Provider assertions
2mongodb · cna
Cleartext storage of encrypted foreign key fields in Mongoid
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b71c8d569f395d7d54239e10c81c69c52459b443b72099fe5bebf396c77e9058
- Ingested
- 25 Nov 2026, 19:22:23 UTC
- Source record
- Official CVE record