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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-07-28 · Modified: 2024-11-20
- Aliases: GHSA-f825-f98c-gj3g, BIT-mongoose-2022-2564
- Record: https://cvemate.com/vulnerability/CVE-2022-2564 · JSON: https://cvemate.com/vulnerability/CVE-2022-2564/json

## Description

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

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 31.301%, percentile 98.316%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- automattic automattic/mongoose: ≥ unspecified, \< 6.4.6
- mongoosejs mongoose: \< 5.13.15 \| ≥ 6.0.0, \< 6.4.6
- Npm mongoose (Npm): ≥ 6.0.0, \< 6.4.6 \| \< 5.13.15

## References

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

---

Data as of 2026-12-05T13:09:02.667Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
