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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-118581— NoSQL 因 BSON 前缀不匹配导致注入漏洞

一分钟漏洞结论

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

MongoDB Java 驱动中的 BSON 编码组件未验证外部提供的原始文档所声明的长度是否与其实际给定的字节范围一致,就在将该范围复制到发往数据库的命令之前。因此,任何将不可信的原始字节包装成此类文档并将其作为命令一部分的应用程序,都可能发出结构不一致的消息,导致数据库将攻击者提供的尾部内容误解析为周围命令的附加字段。除通过受害应用程序影响这些字节的能力外,无需对驱动程序或数据库进行任何身份验证,也无需用户交互。其结果是实际执行的命令被意外篡改,从而在应用程序凭据下修改了读取或写入的数据。

CVSS 6.5 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
MongoDB Java Driver 5.8.0< 5.14.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
NoSQL injection via mismatched BSON size prefix in raw document splice to the wire protocol
来源: CVE Program / CVE List V5
Vulnerability Description
A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of the byte range it is given before that range is copied into an outgoing database command. An application that wraps untrusted raw bytes in such a document and uses it as part of a command can therefore emit a structurally inconsistent message, causing the database to interpret attacker-supplied trailing content as additional fields of the surrounding command. No authentication to the driver or database is required beyond the ability to influence those bytes through the victim application, and no user interaction is needed. The result is unintended modification of the command actually executed, which can alter the data read or written under the application's credentials.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
数据查询逻辑中特殊元素的不当中和
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
MongoDB Java Driver 5.8.0 ~ 5.14.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-118581 厂商页面 (1)

同批安全公告 · MongoDB · 2026-10-28 · 共 3 条

CVE-2026-118510 8.8 HIGH Laravel MongoDB 数字字符串 ID 拒绝记录遗漏漏洞
CVE-2026-116641 6.8 MEDIUM DB Tools 信任 eMudhra 中间 CA 证书漏洞

IV. Related Vulnerabilities