PT-2026-166336

CVE-2026-142596

·

Published

2026-12-02

·

Updated

2026-12-02

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Mongoose versions 8.5.0 through 8.24.9 Mongoose versions 9.x through 9.12.1
Description The sanitizeProjection function can be bypassed using +path selections, object or array aggregation expressions, nested and parent projections, positional projections, $meta, discriminator-specific exclusions, an own proto key, and projection-cast error paths. This allows applications that pass attacker-controlled data to the select() function, the find(filter, projection) function, or the projection option to return fields marked as select: false, such as password hashes, reset tokens, API keys, and nested secrets. Additionally, nested exclusion objects, $elemMatch combined with an exclusion or a cast error, and discriminator filters can cause standard queries to omit the select: false exclusions that are typically added.
Recommendations Update Mongoose to version 8.24.10. Update Mongoose to version 9.12.2.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾