CVE-2026-73562 Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
mongoose BitnamiAll versions6.13.10, 7.8.10, 8.24.1, 9.7.2
mongoose npmAll versions6.13.10
mongoose npmAll versions6.13.10
mongoose npmFrom 7.0.07.8.10
mongoose npmFrom 7.0.07.8.10
mongoose npmFrom 8.0.08.24.1
3 more packages
mongoose npmFrom 8.0.08.24.1
mongoose npmFrom 9.0.09.7.2
mongoose npmFrom 9.0.09.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.

Is CVE-2026-73562 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free