Vulnerability · Published Aug 13, 2026 · Assigned by GitHub_M

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

Medium 6.5

In plain English

A medium-severity prototype pollution in mongoose from Automattic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 56.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmmongoose6.13.10GHSA-664h-wqgq-64gw
npmmongoose7.8.10GHSA-664h-wqgq-64gw
npmmongoose8.24.1GHSA-664h-wqgq-64gw
npmmongoose9.7.2GHSA-664h-wqgq-64gw

Affected products (as reported)

VendorProductVersions
Automattic mongoose < 6.13.10>= 7.0.0, < 7.8.10>= 8.0.0, < 8.24.1>= 9.0.0, < 9.7.2

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

References