Description
An insecure direct object reference in the nested attributes handling of the Mongoid object-document mapper may allow a user with basic application privileges to reference a record identifier that is not their own. Processing such a request can cause that record to be looked up without the usual ownership or scoping restrictions, then updated and linked to the requesting user's own record. This may result in unintended disclosure and unauthorized modification of data belonging to other users of the application.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-639 — CWE-639: Authorization Bypass Through User-Controlled Key
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc. | Mongoid | 9.1.0; 9.0.0 to <=9.0.11; 8.1.0 to <=8.1.12; 8.0.0 to <=8.0.12 |
References
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.