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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-50029— Sunny Yang js-toml 处理逻辑错误漏洞

一分钟漏洞结论

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

Sunny Yang js-toml是Sunny Yang个人开发者的一款TOML格式解析的开发框架。 Sunny Yang js-toml 1.1.2之前版本存在处理逻辑错误漏洞,该漏洞源于使用 而非 检查重复键,导致假值被覆盖,可能造成结构类型混淆,使依赖真值判断的主机应用被静默欺骗。

CVSS 5.3 · Medium EPSS 0.23% · P14

影响版本矩阵 1

厂商产品 版本范围状态
sunnyadn js-toml < 1.1.2 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
js-toml has silent type confusion via falsy-primitive duplicate-key bypass
来源: CVE Program / CVE List V5
Vulnerability Description
js-toml is a TOML parser for JavaScript, Prior to version 1.1.2, the interpreter checks whether a key already exists in a parser-built container with `if (object[key])` instead of `if (key in object)`. When the prior value is a falsy primitive — `false`, `0`, `0n`, `0.0`, `-0`, or `""` — the duplicate-key branch is skipped and the value is silently overwritten by a later sub-table, dotted-key sub-table, or array-of-tables sharing the same name. Per the TOML 1.0.0 spec ("Defining a key multiple times is invalid"; "You cannot define any key or table more than once"), this should be a parse error. The result is structural type confusion of attacker-named keys in the value returned by `load()`. A boolean-typed `false` (or numeric `0`) becomes a truthy object. Host applications that gate behavior on `if (config.flag)`, `if (!user.banned)`, `if (config.allowDelete)`, or `if (config.publicMode)` will silently take the truthy branch. This is distinct from GHSA-65fc-cr5f-v7r2 (the 1.0.2 prototype-pollution fix). `Object.prototype` is not polluted. The `Object.create(null)` mitigation from 1.0.2 is intact; the bug here is in the duplicate-key state machine, not in container construction. Version 1.1.2 patches the incorrect comparison.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
不充分的比较
来源: CVE Program / CVE List V5
Vulnerability Title
Sunny Yang js-toml 处理逻辑错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Sunny Yang js-toml是Sunny Yang个人开发者的一款TOML格式解析的开发框架。 Sunny Yang js-toml 1.1.2之前版本存在处理逻辑错误漏洞,该漏洞源于使用`if(object[key])`而非`if(key in object)`检查重复键,导致假值被覆盖,可能造成结构类型混淆,使依赖真值判断的主机应用被静默欺骗。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
sunnyadn js-toml < 1.1.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-50029 补丁与修复 (1)

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

CVE-2026-50029 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-50029

暂无评论


发表评论