CVE-2026-73562: Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)

Published Aug 13, 2026
·
Updated

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.

Affected Software

1 affected component
Mongoose<6.13.10, <7.8.10, <8.24.1, <9.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mongoose to a version that resolves this vulnerability.

    Fixed in 6.13.10
  2. Upgrade

    Upgrade mongoose to a version that resolves this vulnerability.

    Fixed in 7.8.10
  3. Upgrade

    Upgrade mongoose to a version that resolves this vulnerability.

    Fixed in 8.24.1
  4. Upgrade

    Upgrade mongoose to a version that resolves this vulnerability.

    Fixed in 9.7.2

Event History

Aug 13, 2026
CVE Published
via MITRE·05:27 PM
Data Sourced
via MITRE·05:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-73562?

CVE-2026-73562 has a medium severity rating of 6.5.

2

How do I fix CVE-2026-73562?

To fix CVE-2026-73562, upgrade to Mongoose versions 6.13.10, 7.8.10, 8.24.1, or 9.7.2 or later.

3

What component is affected by CVE-2026-73562?

CVE-2026-73562 affects the Mongoose MongoDB object modeling tool.

4

What type of attack does CVE-2026-73562 facilitate?

CVE-2026-73562 facilitates prototype pollution via user-controlled update casting.

5

What is the risk associated with CVE-2026-73562?

CVE-2026-73562 has a risk score of 40, indicating a significant potential impact if exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203