CyberRota Analysis
AI-GeneratedMongoose versions prior to 6.13.10, 7.8.10, 8.24.1, and 9.7.2 are vulnerable to prototype pollution via user-controlled updates, which can manipulate object properties and potentially compromise application integrity and availability. This vulnerability primarily affects developers using Mongoose for MongoDB object modeling in asynchronous environments. Organizations utilizing these versions should prioritize upgrading to the patched releases to mitigate associated risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.10, 7.8.10, 8.24.1, and 9.7.2, passing a user-controlled update such as MyModel.updateOne(filter, req.body) can exploit Mongoose update casting with a __proto__.x dotted path under $set. Schema.prototype.path and Schema.prototype._getPathType can treat inherited properties of schema.paths and schema.nested as schema types, allowing the casting process to set $fullPath and $parentSchemaDocArray on Object.prototype before throwing. This prototype pollution makes those properties visible on newly created objects and can cause application integrity and availability impacts. This issue is fixed in versions 6.13.10, 7.8.10, 8.24.1, and 9.7.2.