CVE-2026-73562
Received
Received - Intake
Prototype Pollution in Mongoose via $set Update Casting
Vulnerability report for CVE-2026-73562, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-13
Last updated on: 2026-08-13
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| automattic | mongoose | 6.13.10 |
| automattic | mongoose | 7.8.10 |
| automattic | mongoose | 8.24.1 |
| automattic | mongoose | 9.7.2 |
| automattic | mongoose | to 6.13.10 (exc) |
| automattic | mongoose | From 7.0.0 (inc) to 7.8.10 (exc) |
| automattic | mongoose | From 8.0.0 (inc) to 8.24.1 (exc) |
| automattic | mongoose | From 9.0.0 (inc) to 9.7.2 (exc) |
| mongoose | mongoose | 6.13.10 |
| mongoose | mongoose | 7.8.10 |
| mongoose | mongoose | 8.24.1 |
| mongoose | mongoose | 9.7.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-1321 | The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. |