8.1High

CVE-2026-93758Cross-principal document update, theft, and deletion via unvalidated id in nested attributes

MongoDB Inc. Mongoid Published: (1 month ago)

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.

Weakness (CWE): CWE-639

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB Inc. Mongoid 9.1.0, 9.0.0 – ≤ 9.0.11, 8.1.0 – ≤ 8.1.12, 8.0.0 – ≤ 8.0.12

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* ≥ 8.0.0 < 8.0.12
  • cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* ≥ 8.1.0 < 8.1.13
  • cpe:2.3:a:mongodb:mongoid:*:*:*:*:*:*:*:* ≥ 9.0.0 < 9.0.12
  • cpe:2.3:a:mongodb:mongoid:9.1.0:*:*:*:*:*:*:*