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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-76845— adm-zip 0.5.9-0.6.0 提取时通过符号链接实现任意文件覆盖漏洞

一分钟漏洞结论

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

adm-zip 0.5.9 至 0.6.0 版本在提取目标位置时遵循符号链接。util/utils.js 中的 Utils.sanitize 函数仅通过将归档条目名称的字符串形式与解析后的提取根目录进行比较来强制实施路径包含检查,而 Utils.writeFileTo 函数通过 fs.openSync(path, "w", 0o666) 打开计算出的目标路径,该操作会解析符号链接,且既未设置 O_NOFOLLOW 标志,也未在写入前进行 fs.lstatSync 检查。 当目标位置的某个路径组件已经存在为一个指向提

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

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

漏洞信息

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

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

Vulnerability Title
adm-zip 0.5.9 through 0.6.0 Arbitrary File Overwrite via Symlink Following on Extraction
来源: CVE Program / CVE List V5
Vulnerability Description
adm-zip 0.5.9 through 0.6.0 follows symbolic links at the extraction destination. Utils.sanitize in util/utils.js enforces containment by comparing only the string form of an archive entry name against the resolved extraction root, and Utils.writeFileTo opens the computed destination with fs.openSync(path, "w", 0o666), which resolves symbolic links and carries neither O_NOFOLLOW nor a pre-write fs.lstatSync check. When a path component at the destination already exists as a symbolic link pointing outside the extraction root, extractAllTo, extractAllToAsync and extractEntryTo write the entry contents through that link and then chmod its target, placing attacker-controlled content in a file outside the root without any traversal sequence appearing in the archive. Reaching the write requires overwrite to be enabled, because the preceding fs.existsSync check also resolves the link and otherwise declines. An attacker able to create a symbolic link inside a shared, reused or predictable extraction directory, such as a temporary directory or a continuous integration workspace, can overwrite any file the extracting process is permitted to write.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
cthackers adm-zip 0.5.9 ~ 0.6.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-76845 其他参考 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-76845

暂无评论


发表评论