CVE-2026-73562
Mongoose is a MongoDB object modeling tool designed to work in an …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw
- github.com/Automattic/mongoose/pull/16230
- github.com/Automattic/mongoose/commit/f494b8430f9097fc70446d6949c8a42a27518e0b
- github.com/Automattic/mongoose/releases/tag/6.13.10
- github.com/Automattic/mongoose/releases/tag/7.8.10
- github.com/Automattic/mongoose/releases/tag/8.24.1
- github.com/Automattic/mongoose/releases/tag/9.7.2
- github.com/advisories/GHSA-664h-wqgq-64gw
- nvd.nist.gov/vuln/detail/CVE-2026-73562
- cve.org/CVERecord?id=CVE-2026-73562
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.