Skip to main content
EPSS 0.5%top 59%

CVE-2026-73562: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in Automattic mongoose

0
Medium
Published: 08/13/2026 (08/13/2026, 17:27:09 UTC)
Source: CVE Database V5
Vendor/Project: Automattic
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected software

Automattic

mongoose

Affected versions
<6.13.10>=7.0.0 <7.8.10>=8.0.0 <8.24.1>=9.0.0 <9.7.2
mongoose
pkg:npm/mongoose
Affected versions
<6.13.10>=7.0.0 <7.8.10>=8.0.0 <8.24.1<9.7.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 13:31:33 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses