CVE-2026-93765 is a critical vulnerability in Mongoid's persistence layer that exploits the library's use of reflection for dynamic attribute handling. User-supplied keys reaching Mongoid's persistence operations can invoke arbitrary internal methods on domain objects, including destructive operations like record deletion — a trust gap where the library assumes keys are pre-validated and the application assumes the library handles validation. Neither validates.
The severity (CVSS 9.1) reflects the catastrophic potential: arbitrary record deletion and application DoS. But the low EPSS score (0.00229) tells a nuanced story. This isn't a technically difficult exploit — it's an architecturally latent one. Exploitation requires a specific configuration where user-supplied keys flow directly into Mongoid operations without any intermediate transformation or validation layer. Many deployments have already learned to avoid this pattern through hard lessons from the 2012 ActiveRecord mass assignment era, which produced structurally identical vulnerabilities. The vulnerable configuration hasn't widely proliferated because the defensive lessons from that era persist in Rails-adjacent ecosystems, even if they didn't propagate to Mongoid specifically.
Check your exposure by auditing key flow: any endpoint accepting arbitrary key names and passing them to create, update, where, or similar Mongoid operations is a potential vector. The fix will likely introduce access controls at the library level, but the underlying reflection machinery will persist — this is a pattern that has repeatedly survived patches across ORM generations. The real remediation is architectural: validate and whitelis keys at your application boundary before they reach any persistence layer, regardless of what library sits behind it.