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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-48158— Daishi Kato use-context-selector 处理逻辑错误漏洞

一分钟漏洞结论

影响对象
dai-shi use-context-selector
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Daishi Kato use-context-selector是Daishi Kato个人开发者的一款前端组件状态选择库。 Daishi Kato use-context-selector 9d8481a513b7b0d1c0941b220c69b25de748641b至6f2dae054ca014068bdbbb4db96006424d674124版本存在处理逻辑错误漏洞,该漏洞源于npm install期间执行了恶意postinstall脚本,可能导致远程代码执行。

CVSS 9.3 · Critical EPSS 0.67% · P50

影响版本矩阵 1

厂商产品 版本范围状态
dai-shi use-context-selector >= 9d8481a513b7b0d1c0941b220c69b25de748641b, <= 6f2dae054ca014068bdbbb4db96006424d674124 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
use-context-selector was vulnerable to malicious code execution via compromised commits
来源: CVE Program / CVE List V5
Vulnerability Description
use-context-selector is a React useContextSelector hook in userland Between 2026-05-18 15:57:18 and 2026-05-19 15:24:34, the default branch contained malicious commits 9d8481a513b7b0d1c0941b220c69b25de748641b through 6f2dae054ca014068bdbbb4db96006424d674124 that executed remote attacker-controlled code on developer machines during `npm install`. The commits were removed by force-push, but local clones, forks, and direct-SHA URLs may still contain them, and `npm install` against an affected checkout will still execute the code today. The package was not published to npm. `src/install.js` was added and wired into the `postinstall` script. It fetched a JavaScript payload from an attacker-controlled HTTPS endpoint (configurable via an environment variable), disabled TLS verification, and evaluated the response as code with `require` available. Execution was deliberately skipped on CI and cloud/serverless environments, targeting developer workstations. The second-stage payload was attacker-hosted and cannot be reconstructed. Assume full compromise of anything reachable from a Node process with the user's permissions. Those who ran `npm install` against an affected checkout on a developer machine on or after 2026-05-18 15:57:18 should treat the machine as compromised, rotate every credential the machine could reach, audit account activity** since 2026-05-18 15:57:18, and clean local clones.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
内嵌的恶意代码
来源: CVE Program / CVE List V5
Vulnerability Title
Daishi Kato use-context-selector 处理逻辑错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Daishi Kato use-context-selector是Daishi Kato个人开发者的一款前端组件状态选择库。 Daishi Kato use-context-selector 9d8481a513b7b0d1c0941b220c69b25de748641b至6f2dae054ca014068bdbbb4db96006424d674124版本存在处理逻辑错误漏洞,该漏洞源于npm install期间执行了恶意postinstall脚本,可能导致远程代码执行。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
dai-shi use-context-selector >= 9d8481a513b7b0d1c0941b220c69b25de748641b, <= 6f2dae054ca014068bdbbb4db96006424d674124 -

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

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5044 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

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

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

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

同批安全公告 · dai-shi · 2026-08-10 · 共 4 条

CVE-2026-48159 9.3 CRITICAL Daishi Kato use-reducer-async 处理逻辑错误漏洞
CVE-2026-48160 9.3 CRITICAL dai-shi React Tracked 处理逻辑错误漏洞
CVE-2026-48161 9.3 CRITICAL Daishi Kato react18-use 处理逻辑错误漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-48158

暂无评论


发表评论