CVE-2026-73562Automattic mongoose
Medium 6.5 No auth needed
Follow: this CVE · Automattic · Automattic mongoose We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 13, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for mongoose.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mongoose |
< 6.13.10 |
6.13.10 |
npm install mongoose@6.13.10 |
| npm | mongoose |
≥ 7.0.0 < 7.8.10 |
7.8.10 |
npm install mongoose@7.8.10 |
| npm | mongoose |
≥ 8.0.0 < 8.24.1 |
8.24.1 |
npm install mongoose@8.24.1 |
| npm | mongoose |
≥ 9.0.0 < 9.7.2 |
9.7.2 |
npm install mongoose@9.7.2 |
Per OSV / GitHub Advisories (GHSA-664h-wqgq-64gw). Check the version in your lockfile before upgrading.
Affected products
- Automattic · mongoose
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.