CVE-2026-73562
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mongoosenpm | < 6.13.10 | 6.13.10 |
mongoosenpm | >= 7.0.0, < 7.8.10 | 7.8.10 |
mongoosenpm | >= 8.0.0, < 8.24.1 | 8.24.1 |
mongoosenpm | >= 9.0.0, < 9.7.2 | 9.7.2 |
Affected products
2- Range: >=6.13.10, >=7.8.10, >=8.24.1, >=9.7.2
Patches
Vulnerability mechanics
References
12- github.com/advisories/GHSA-664h-wqgq-64gwghsaADVISORY
- github.com/Automattic/mongoose/commit/f494b8430f9097fc70446d6949c8a42a27518e0bghsaWEB
- github.com/Automattic/mongoose/pull/16230ghsaWEB
- github.com/Automattic/mongoose/releases/tag/6.13.10ghsaWEB
- github.com/Automattic/mongoose/releases/tag/7.8.10ghsaWEB
- github.com/Automattic/mongoose/releases/tag/8.24.1ghsaWEB
- github.com/Automattic/mongoose/releases/tag/9.7.2ghsaWEB
- github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gwnvdWEB
- github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425650d0fnvd
- github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703ee707anvd
- github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d6d9a45nvd
- github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740nvd
News mentions
0No linked articles in our index yet.