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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-07-24T16:22:34.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-664h-wqgq-64gw, BIT-MONGOOSE-2026-73562
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Automattic mongoose: < 6.13.10; >= 7.0.0, < 7.8.10; >= 8.0.0, < 8.24.1; >= 9.0.0, < 9.7.2
- mongoose (npm): before 6.13.10; from 7.0.0 before 7.8.10; from 8.0.0 before 8.24.1; from 9.0.0 before 9.7.2
- mongoose (Bitnami): before 6.13.10; from 7.0.0 before 7.8.10; from 8.0.0 before 8.24.1; from 9.0.0 before 9.7.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw> (web)
- <https://github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425650d0f> (web)
- <https://github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703ee707a> (web)
- <https://github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d6d9a45> (web)
- <https://github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740> (web)
- <https://github.com/Automattic/mongoose/pull/16230> (web)
- <https://github.com/Automattic/mongoose/commit/f494b8430f9097fc70446d6949c8a42a27518e0b> (web)
- <https://github.com/Automattic/mongoose> (package)
- <https://github.com/Automattic/mongoose/releases/tag/6.13.10> (web)
- <https://github.com/Automattic/mongoose/releases/tag/7.8.10> (web)
- <https://github.com/Automattic/mongoose/releases/tag/8.24.1> (web)
- <https://github.com/Automattic/mongoose/releases/tag/9.7.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-73562> (web)

## Sources

- CVE List: [CVE-2026-73562](https://www.cve.org/CVERecord?id=CVE-2026-73562), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-664h-wqgq-64gw](https://github.com/advisories/GHSA-664h-wqgq-64gw), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-73562](https://nvd.nist.gov/vuln/detail/CVE-2026-73562), Public domain, modified 2026-10-24
- Bitnami Vulnerability Database: [BIT-MONGOOSE-2026-73562](https://osv.dev/vulnerability/BIT-MONGOOSE-2026-73562), Apache-2.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-73562 · Whole record: https://cve.day/CVE-2026-73562.json · Rebuilt by cve.day 2026-11-25T22:59:32.814Z
