Mongoose 是一款专为异步环境设计的 MongoDB 对象建模工具。在版本 6.13.12、7.8.13、8.24.7 和 9.11.4 之前,Mongoose 在索引普通对象注册表(如 和 )时,会直接使用攻击者可控的鉴别器(discriminator)键值(包括默认的 字段),且未要求该键必须是对象自身的属性(own property)。因此,诸如 、 或 等键值可能解析为继承自原型链的内置函数,而非已注册的鉴别器,从而在模型构建、文档创建、数据水合(hydration)、查询与更新的类型转换、嵌入式鉴别
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| Automattic | mongoose | < 6.13.12 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-125120 | 9.8 CRITICAL | Mongoose: sanitizeFilter not applied on countDocuments |
| CVE-2026-125117 | 8.2 HIGH | Mongoose walks into inherited properties when hydrating, setting, and merging, allowing ov |
| CVE-2026-125119 | 7.5 HIGH | Mongoose: Connection-level sanitizeFilter not applied |
| CVE-2026-125118 | 6.5 MEDIUM | Mongoose: Prototype pollution via Schema.prototype.virtual() |