Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Summary
| CVE | CVE-2026-73562 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-13 18:18:18 UTC |
| Updated | 2026-08-13 18:18:18 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Problem Types: CWE-1321 | CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Automattic | Mongoose | affected < 6.13.10 | Not specified |
| CNA | Automattic | Mongoose | affected >= 7.0.0, < 7.8.10 | Not specified |
| CNA | Automattic | Mongoose | affected >= 8.0.0, < 8.24.1 | Not specified |
| CNA | Automattic | Mongoose | affected >= 9.0.0, < 9.7.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425... | [email protected] | github.com | |
| github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw | [email protected] | github.com | |
| github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d... | [email protected] | github.com | |
| github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703... | [email protected] | github.com | |
| github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.