CVE-2022-2564: Prototype Pollution in automattic/mongoose
Vulnerability summary
CVE-2022-2564 is a critical (CVSS 9.8) vulnerability in automattic automattic/mongoose. EPSS estimates a 31.30% chance of exploitation in the next 30 days, higher than 98.3% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Duplicates 1Timeline
- 28-07-2022PublishedVulnerability first disclosed.
- 20-11-2024Last modifiedVulnerability information updated.
Description
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HDiffers
- NVDNIST7.0HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
31.30%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
No change 0.00 pp
From 31.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundMongoose
Maturity: poc
Exploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Automattic1 product
- automattic/mongoose≥ unspecified, < 6.4.6
Mongoosejs1 product
- mongoose< 5.13.15 | ≥ 6.0.0, < 6.4.6
Npm1 product
- mongoose≥ 6.0.0, < 6.4.6 | < 5.13.15
3 vendors · 3 products
References
8 links- github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.jsX Refsource MISCWEBExploitThird Party Advisory
- huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1dddX Refsource CONFIRMWEBExploitIssue TrackingPatchThird Party Advisory
- github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8X Refsource MISCWEBPatchThird Party Advisory