PT-2026-166335
CVE-2026-142595
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Mongoose versions 6.0.0 through 6.13.12
Mongoose versions 7.x through 7.8.13
Mongoose versions 8.x through 8.24.9
Mongoose versions 9.x through 9.12.1
Description
The
sanitizeFilter function fails to recursively inspect undocumented operators, such as $ internalSchemaXor and $ internalSchemaCond, rejecting only a limited set of top-level operators. This allows attackers to use nested selectors like $ne or $regex when they control filter keys passed to queries. This can lead to authentication bypass, disclosure of protected values via boolean queries, or unauthorized updates and deletions. Applications that build filters from individual primitive values are not affected.Recommendations
Update to version 6.13.13.
Update to version 7.8.14.
Update to version 8.24.10.
Update to version 9.12.2.
Found an issue in the description? Have something to add? Feel free to write us 👾