Mongoose 是一个专为异步环境设计的 MongoDB 对象建模工具。在 6.13.12、7.8.13、8.24.7 和 9.11.4 版本之前,Mongoose 在通过 init() 加载数据库文档、在 $__set 中设置点分隔路径(dotted paths),以及在 utils.mergeClone 中合并更新文档时,可能会递归遍历继承属性。因此,由攻击者控制的关键字(如 toString 或 valueOf)可能导致 Mongoose 将数据写入共享的内置函数,而非对象自身的属性。 攻击者可构造包含特定
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-125119 | 7.5 HIGH | Mongoose: Connection-level sanitizeFilter not applied |
| CVE-2026-125118 | 6.5 MEDIUM | Mongoose: Prototype pollution via Schema.prototype.virtual() |
| CVE-2026-125116 | 4.8 MEDIUM | Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') |