# CVE-2022-2564: Prototype Pollution in automattic/mongoose

- Severity: High 7.0 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- 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): 31.3%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-28T15:21:20.000Z
- Modified: 2026-09-08T08:48:14.492Z
- Also known as: GHSA-f825-f98c-gj3g, BIT-MONGOOSE-2022-2564
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.

(As written by CVE List.)

## Affected

- automattic automattic/mongoose: from unspecified before 6.4.6
- mongoose (npm): from 6.0.0 before 6.4.6; before 5.13.15
- mongoosejs mongoose: before 5.13.15; from 6.0.0 before 6.4.6
- mongoose (Bitnami): before 5.13.15; from 6.0.0 before 6.4.6

## Every score

- @huntrdev: CVSS:3.0 7.0 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141> (exploit, advisory, third-party-advisory, web)
- <https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd> (exploit, advisory, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8> (advisory, patch, third-party-advisory, web)
- <https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2564> (advisory, web)
- <https://github.com/Automattic/mongoose/commit/99b418941e2fc974199b8e5bd9d382bb50bf680a> (web)
- <https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md> (web)
- <https://github.com/automattic/mongoose> (web)

## Sources

- CVE List: [CVE-2022-2564](https://www.cve.org/CVERecord?id=CVE-2022-2564), CVE Terms of Use, modified 2024-11-20
- GitHub Advisory Database: [GHSA-f825-f98c-gj3g](https://github.com/advisories/GHSA-f825-f98c-gj3g), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2022-2564](https://nvd.nist.gov/vuln/detail/CVE-2022-2564), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGOOSE-2022-2564](https://osv.dev/vulnerability/BIT-MONGOOSE-2022-2564), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-2564 · Whole record: https://cve.day/CVE-2022-2564.json · Rebuilt by cve.day 2026-11-25T22:58:13.294Z
