What’s Vulnerable › Vulnerabilities
CVE-2026-93758: Cross-principal document update, theft, and deletion via unvalidated id in nested attributes
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-18 · updated 2026-09-25
- Weakness: CWE-639
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.
Affected products
- MongoDB Inc. Mongoid: from 8.0.0 before 8.0.12; from 8.1.0 before 8.1.13; from 9.0.0 before 9.0.12; 9.1.0 — fixed in 8.0.12, 8.1.13, 9.0.12
How to fix
Upgrade to a fixed version: MongoDB Inc. Mongoid 8.0.12, 8.1.13, 9.0.12. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-93758 or the next vulnerability affects your stack