Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit request with structured input replacing an ID value
-
DeliveryApplication forwards unfiltered params into Mongoid association handling
-
ExploitInput coerced into object treated as stored record of chosen model
-
ExecutionUnintended modification or deletion of persisted records
-
ImpactTargeted record rendered unreadable via association
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V4 - API and Web Service Object attribute protection
|
| Exploitation Conditions | Exploitation requires the affected application to pass unfiltered, attacker-controlled request data directly into Mongoid's association assignment, where a structured value (such as a nested hash) is accepted in place of a simple scalar identifier. The attack is remote and unauthenticated (PR:N/UI:N), but the AT:P requirement means it only works where this unsafe data flow exists - applications that cast association inputs to scalar IDs, use strong-parameter filtering, or otherwise sanitize params before assignment are not exploitable. The precise minimum vulnerable configuration and affected versions are not described in the available sources. |
| Impact | This is a genuine priority for the subset of applications that are actually vulnerable, but the raw CVSS 8.3 overstates blanket risk. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) shows a remote, unauthenticated, low-complexity attack, and the AT:P (Attack Requirement: Present) flag is the key qualifier: exploitation is contingent on the application passing unfiltered request data into Mongoid's association handling, which is an application-coding precondition rather than a flaw reachable in every default deployment. Impact is concentrated on integrity (VI:H) with minor availability loss (VA:L) and explicitly no confidentiality impact (VC:N) - meaning this is a data-tampering/record-manipulation issue, not data theft, despite the 'Information Disclosure' tag. The vuln.today decision label is 'this_week' (not act_now/emergency). No EPSS score, KEV listing, or working PoC was provided - the only reference is the MongoDB Jira ticket MONGOID-5969 - so there is no evidence of active exploitation or weaponization; treat this as a patch-this-cycle issue for teams running affected Mongoid versions with request data flowing into associations. |
| Exploit ScenarioDerived | An unauthenticated user submits a crafted HTTP request to a Rails/Ruby endpoint where the application assigns an association from untrusted parameters, supplying a structured object (e.g., a nested hash) in place of a plain identifier value. Mongoid turns that input into an object treated as an already-persisted record of an attacker-chosen model class, letting the attacker modify or delete stored records or render a record unreadable through that association. No public exploit identified at time of analysis; only the vendor Jira ticket is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Improper control of dynamically determined object attributes (mass assignment) in Mongoid's association handling allows a structured value such as a nested hash, supplied where a simple identifier is expected, to be turned into an object that Mongoid treats as an already-persisted record of a caller-chosen model class. Applications that pass unfiltered, attacker-controlled request data straight into association assignment are exposed to unauthenticated modification or deletion of stored documents via that association, and a single record can be made unreadable through it; the assessed vector shows integrity impact high, availability impact low, and no confidentiality impact. The flaw is only reachable where that unsafe data flow exists - apps that cast association inputs to scalar IDs or filter parameters are not exploitable - and no public exploit code or confirmed in-the-wild exploitation has been identified at time of analysis, though the vuln.today priority label places remediation within this week.
RemediationAI
No vendor-released patch version is identified in the available sources, so the primary action is to track https://jira.mongodb.org/browse/MONGOID-5969 for the fixed release line and upgrade as soon as MongoDB publishes it; because the priority label is this_week, treat that tracking and the interim controls below as near-term work rather than backlog. In the meantime, break the required data flow: explicitly cast association inputs to scalar IDs before assignment (Integer or String casting, or BSON::ObjectId conversion where applicable) so a nested hash is rejected instead of being materialised as a record - the trade-off is that legitimate callers passing nested attributes will need a separate, explicitly permitted path. Alternatively enforce strong-parameter filtering with an allowlist that admits only the identifier key for each association, which stops the structured value reaching the setter but requires auditing every controller that writes associations. Where associations are polymorphic, pin the permitted class server-side rather than deriving it from request data, accepting the loss of client-driven flexibility. Applications that do not pass raw request data into association assignment can deprioritise patching but should still adopt the casting controls before any future endpoint does so. Because the impact is integrity and availability on stored documents, take a current backup of affected collections before deploying either the upgrade or the parameter-handling changes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mongoid is the Ruby object-document mapper for MongoDB: Ruby classes declare associations (belongs_to, has_many, has_one and their polymorphic variants) whose setters normally accept an identifier or a document and resolve it to a stored record. The weakness is CWE-915, improper control of dynamically determined object attributes: when a nested hash or similarly structured value is accepted in place of a scalar identifier, the association machinery builds an object from the attacker's attribute keys and treats it as an existing, persisted record, including for a model class the caller selects rather than one the server-side code fixed. That gives an attacker control over which document class is targeted and over its attributes, which is why the assessed impact is integrity-high (records modified or removed) and availability-low (a record rendered unreadable through the association) with confidentiality unaffected. The CVSS 4.0 AT:P component and the assessed 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L) both describe severity and prerequisites, not the trigger mechanism: the affected application must itself pass attacker-controlled request data into the association setter. The precise minimum vulnerable configuration, the exact triggering input shape, and the affected version range are not described in the available sources; the only CPE supplied is cpe:2.3:a:mongodb:ruby_driver with a wildcard version, so the version boundary is unconfirmed.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Remote unauthenticated input abuse (AV:N/PR:N) yields high integrity impact (I:H) via record tampering and minor availability loss (A:L); no confidentiality impact (C:N) per vendor VC:N.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An improper restriction of dynamically determined object attributes in the object-document mapping library's association handling allows structured input supplied in place of a simple identifier value to be turned into an object that is treated as an already-stored record of a caller-chosen model class. In applications that pass unfiltered request data into the affected association handling, an unauthenticated party may cause unintended modification or removal of stored records, and may render an individual record unreadable through that association.
Articles & Coverage 1
Executive ViewAI
A high-severity mass-assignment flaw in the Mongoid Ruby object-mapping library exposes Rails applications that pass unfiltered user input directly into database associations, letting attackers alter or delete stored records without logging in and in some cases render records unreadable. Any product built on Mongoid that follows this unsafe input pattern is at risk of data integrity and availability damage, so engineering and product leadership should treat this as a data-trust issue rather than a narrow library bug.
No vendor-released patch identified at time of analysis. Interim mitigation: enforce strong parameters and cast association inputs to scalar IDs, rejecting nested hashes before association assignment; restrict write endpoints and monitor for anomalous document modification or deletion.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
EUVD-2026-135616
GHSA-9h3x-67qv-f384
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB