CVE-2026-73562
published medium CVSS 3.1 · 6.5Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Automattic | — | mongoose< 6.13.10 · >= 7.0.0, < 7.8.10 · >= 8.0.0, < 8.24.1 · >= 9.0.0, < 9.7.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Automattic | mongoose | < 6.13.10 (affected)>= 7.0.0, < 7.8.10 (affected)>= 8.0.0, < 8.24.1 (affected)>= 9.0.0, < 9.7.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
5- https://github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425650d0f
- https://github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703ee707a
- https://github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d6d9a45
- https://github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740
- https://github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw
Provider assertions
2GitHub_M · cna
Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7a4ff662b70782d4413036da20f20aa1409e7215e3c48ff59ae8239b13b6b8bd
- Ingested
- 23 Sep 2026, 09:30:42 UTC
- Source record
- Official CVE record