CVE-2026-73562
Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Also known as BIT-mongoose-2026-73562, GHSA-664h-wqgq-64gw
Mitigation
- Upgrade mongoose to one of 6.13.10, 7.8.10, 8.24.1, 9.7.2 (or later in the same release line).
Who should check
- Projects that depend on npm package mongoose (< 6.13.10)
- Anyone running Automattic mongoose < 6.13.10; >= 7.0.0, < 7.8.10; >= 8.0.0, < 8.24.1; >= 9.0.0, < 9.7.2
Vulnerability facts
- Affected
- mongoose < 6.13.10
- Fixed in
- 6.13.10, 7.8.10, 8.24.1, 9.7.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.50% chance of exploitation in 30 days (percentile 36, 2026-11-26)
- CWE
- CWE-1321
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm mongoose | < 6.13.10 | 6.13.10, 7.8.10, 8.24.1, 9.7.2 | osv |
| Automattic mongoose | < 6.13.10; >= 7.0.0, < 7.8.10; >= 8.0.0, < 8.24.1; >= 9.0.0, < 9.7.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-73562. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-73562.md Affected: mongoose < 6.13.10 Fixed in: 6.13.10, 7.8.10, 8.24.1, 9.7.2 Steps: 1. Search this machine and project for mongoose (npm), Automattic mongoose: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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/pull/16230
- https://github.com/Automattic/mongoose/commit/f494b8430f9097fc70446d6949c8a42a27518e0b
FAQ
Is CVE-2026-73562 being exploited?
There is no confirmed exploitation: CVE-2026-73562 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-73562?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-73562?
mongoose < 6.13.10.
Is there a fix for CVE-2026-73562?
Yes. Fixed in 6.13.10, 7.8.10, 8.24.1, 9.7.2. Upgrade mongoose to one of 6.13.10, 7.8.10, 8.24.1, 9.7.2 (or later in the same release line).
How do I check if I'm affected by CVE-2026-73562?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.