CVE-2026-73562 Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Attackers can pollute Object.prototype via crafted update queries, causing application integrity and availability issues in Mongoose applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-73562?
CVE-2026-73562 is a medium-severity vulnerability in Automattic mongoose, published on 13 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-1321
Which versions are affected by CVE-2026-73562?
9 open source packages ship an affected version, including mongoose.
| Package | Affected | Fixed in |
|---|---|---|
mongoose Bitnami | All versions | 6.13.10, 7.8.10, 8.24.1, 9.7.2 |
mongoose npm | All versions | 6.13.10 |
mongoose npm | All versions | 6.13.10 |
mongoose npm | From 7.0.0 | 7.8.10 |
mongoose npm | From 7.0.0 | 7.8.10 |
mongoose npm | From 8.0.0 | 8.24.1 |
3 more packages
mongoose npm | From 8.0.0 | 8.24.1 |
mongoose npm | From 9.0.0 | 9.7.2 |
mongoose npm | From 9.0.0 | 9.7.2 |
How do I fix CVE-2026-73562?
Upgrade mongoose to a fixed version for your release line: 6.13.10, 7.8.10, 8.24.1 or 9.7.2.
Is CVE-2026-73562 being exploited?
There is no known exploitation of CVE-2026-73562 in the wild and no public exploit code.
Sources
Also known as BIT-mongoose-2026-73562, CLSA-2026-1785380878, CLSA-2026-1789641939, CLSA-2026-1789641946, CLSA-2026-1789645446, CLSA-2026-1789647573 and 3 more.