CVE-2026-73562: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in Automattic mongoose
A prototype pollution vulnerability exists in Automattic's mongoose before versions 6.13.10, 7.8.10, 8.24.1, and 9.7.2. The issue arises when user-controlled updates with a __proto__.x dotted path under $set are passed to update functions, allowing modification of Object.prototype properties. This can affect application integrity and availability. The vulnerability has a CVSS score of 6.5 (medium severity).
AI Analysis
Technical Summary
Mongoose, a MongoDB object modeling tool, improperly controls modification of object prototype attributes (CWE-1321) in versions prior to 6.13.10, 7.8.10, 8.24.1, and 9.7.2. When user input containing a __proto__.x dotted path under $set is passed to update methods like MyModel.updateOne(filter, req.body), the update casting process treats inherited schema properties as schema types. This allows setting of $fullPath and $parentSchemaDocArray on Object.prototype before an error is thrown, resulting in prototype pollution. This pollution causes these properties to be visible on newly created objects, potentially impacting application integrity and availability. The issue is fixed in the stated versions.
Potential Impact
The vulnerability allows an attacker to modify Object.prototype properties via crafted update inputs, leading to prototype pollution. This can cause unexpected behavior in applications using mongoose, affecting application integrity and availability. There is no direct confidentiality impact reported. No known exploits in the wild have been documented.
Mitigation Recommendations
This vulnerability is fixed in mongoose versions 6.13.10, 7.8.10, 8.24.1, and 9.7.2. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly confirmed in the vendor advisory, but the fixed versions are clearly stated. No additional mitigation steps are indicated.
CVE-2026-73562: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in Automattic mongoose
Description
A prototype pollution vulnerability exists in Automattic's mongoose before versions 6.13.10, 7.8.10, 8.24.1, and 9.7.2. The issue arises when user-controlled updates with a __proto__.x dotted path under $set are passed to update functions, allowing modification of Object.prototype properties. This can affect application integrity and availability. The vulnerability has a CVSS score of 6.5 (medium severity).
CVSS v3.1
Score 6.5medium
Affected software
Automattic
mongoose
pkg:npm/mongooseRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Mongoose, a MongoDB object modeling tool, improperly controls modification of object prototype attributes (CWE-1321) in versions prior to 6.13.10, 7.8.10, 8.24.1, and 9.7.2. When user input containing a __proto__.x dotted path under $set is passed to update methods like MyModel.updateOne(filter, req.body), the update casting process treats inherited schema properties as schema types. This allows setting of $fullPath and $parentSchemaDocArray on Object.prototype before an error is thrown, resulting in prototype pollution. This pollution causes these properties to be visible on newly created objects, potentially impacting application integrity and availability. The issue is fixed in the stated versions.
Potential Impact
The vulnerability allows an attacker to modify Object.prototype properties via crafted update inputs, leading to prototype pollution. This can cause unexpected behavior in applications using mongoose, affecting application integrity and availability. There is no direct confidentiality impact reported. No known exploits in the wild have been documented.
Mitigation Recommendations
This vulnerability is fixed in mongoose versions 6.13.10, 7.8.10, 8.24.1, and 9.7.2. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly confirmed in the vendor advisory, but the fixed versions are clearly stated. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-12T20:53:46.380Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e058ebf8831d5399500e5
Added to database: 08/13/2026, 17:57:34 UTC
Last enriched: 08/21/2026, 13:31:33 UTC
Last updated: 09/26/2026, 13:47:48 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.