目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-125116— Mongoose 远程代码执行漏洞

一分钟漏洞结论

影响对象
Automattic mongoose
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Mongoose 是一款专为异步环境设计的 MongoDB 对象建模工具。在版本 6.13.12、7.8.13、8.24.7 和 9.11.4 之前,Mongoose 在索引普通对象注册表(如 和 )时,会直接使用攻击者可控的鉴别器(discriminator)键值(包括默认的 字段),且未要求该键必须是对象自身的属性(own property)。因此,诸如 、 或 等键值可能解析为继承自原型链的内置函数,而非已注册的鉴别器,从而在模型构建、文档创建、数据水合(hydration)、查询与更新的类型转换、嵌入式鉴别

CVSS 4.8 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-125116 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') bypass schema casting and can poison collections
来源: CVE Program / CVE List V5
Vulnerability Description
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose uses attacker-controlled discriminator key values, including the default __t field, to index plain-object registries such as Model.discriminators and schema.discriminators without requiring an own property. Values such as constructor, toString, or hasOwnProperty can therefore resolve to inherited built-in functions instead of a registered discriminator, causing type confusion in model construction, document creation, hydration, query and update casting, embedded discriminators, and populate operations. In the bulkWrite() insertOne path with skipValidation enabled, a constructor value can cause a raw input object to be stored without schema casting or strict filtering, and a stored poisoned document can make every query that hydrates it fail until the document is removed. The weakness reads inherited properties but does not modify Object.prototype and is not prototype pollution. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
使用不兼容类型访问资源(类型混淆)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Automattic mongoose < 6.13.12 -

二、漏洞 CVE-2026-125116 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-125116 的情报信息

请登录查看更多情报信息。

CVE-2026-125116 补丁与修复 (5)

CVE-2026-125116 厂商安全公告 (1)

CVE-2026-125116 厂商页面 (4)

同批安全公告 · Automattic · 2026-11-09 · 共 5 条

CVE-2026-125120 9.8 CRITICAL Mongoose 未对 countDocuments 应用 sanitizeFilter 漏洞
CVE-2026-125117 8.2 HIGH Mongoose 原型链污染导致拒绝服务漏洞
CVE-2026-125119 7.5 HIGH Mongoose 未应用连接级 sanitizeFilter 过滤漏洞
CVE-2026-125118 6.5 MEDIUM Mongoose 原型污染漏洞

IV. Related Vulnerabilities