| 标题 | Node.js mingo 7.2.1 Prototype Pollution |
|---|
| 描述 | mingo version 7.2.1 is affected by a prototype pollution vulnerability in the public mingo/updater export. The package exposes update APIs such as update, updateOne, and updateMany, which apply update operators including $set. When a $set selector contains a path such as __proto__.polluted, the update path traversal follows the __proto__ segment and reaches Object.prototype without filtering dangerous keys.
A minimal reproduction is possible by calling update({}, { $set: { '__proto__.polluted': 'yes' } }), after which newly created objects inherit the polluted property. Applications that pass user-controlled update documents or update paths to mingo/updater may be vulnerable to logic bypass, unexpected property injection, denial of service, or other secondary impact. |
|---|
| 来源 | ⚠️ https://github.com/kofrasa/mingo/issues/606 |
|---|
| 用户 | wjm1 (UID 98929) |
|---|
| 提交 | 2026-06-11 13時52分 (1 月前) |
|---|
| 管理 | 2026-07-14 07時08分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 378245 [kofrasa mingo 直到 7.2.1 Update API update/updateOne/updateMany 设置 权限提升] |
|---|
| 积分 | 20 |
|---|