All reports
High

automattic/mongoose vulnerable to Prototype pollution via Schema.path

Affected versions

Affected versions
< 5.13.15
Fixed version
5.13.15
Affected versions
>= 6.0.0, < 6.4.6
Fixed version
6.4.6

Exploitation

CVE-2022-2564

Probability of exploitation in the next 30 days: 31.30%

FIRST EPSS · 2026-11-21

Description

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Prototype Pollution. The Schema.path() function is vulnerable to prototype pollution when setting the schema object. This vulnerability allows modification of the Object prototype and could be manipulated into a Denial of Service (DoS) attack.

Links

Credits

  • doublevkay
  • neeraj-vts