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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-81028— ZLMediaKit 文件下载目录逃逸漏洞

一分钟漏洞结论

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

ZLMediaKit 通过一组已配置的根目录来限制 API 的访问范围,但所使用的“前缀比较”机制未考虑目录边界。在 的配置加载器中,每个根目录均通过 构建;由于传入的相对路径参数为空字符串,该辅助函数返回的值末尾不包含路径分隔符。后续处理逻辑在满足 时即接受请求的路径,因此,仅名称以配置根目录字符串开头的同级目录也会通过该检查并被成功访问。另一项校验仅拒绝包含两个连续点号( )的路径,而上述情形并不触发该规则。相比之下,普通静态文件服务器在 中的同类限制检查使用了非空的第二个参数,会在比较前自动补全路径分隔符,因

CVSS 4.9 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
ZLMediaKit ZLMediaKit fa347d7dbe48dfdce525d3a0fdb92e576970ef9f affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
ZLMediaKit downloadFile Root-Directory Confinement Bypass via Prefix Collision
来源: CVE Program / CVE List V5
Vulnerability Description
ZLMediaKit confines the downloadFile API to a configured set of root directories with a prefix comparison that does not account for directory boundaries. The configuration loader in server/WebApi.cpp builds each root with File::absolutePath("", item, true); because the relative-path argument is empty that helper returns the value without a trailing separator. The handler then accepts a requested path when start_with(file_path, root) holds, so a sibling directory whose name merely begins with the configured root string satisfies the test and is served. The only other guard rejects a path containing two dots, which this requires none of. The equivalent confinement check for the ordinary static file server in src/Http/HttpFileManager.cpp computes its root with a non-empty second argument, which appends the separator before comparing, and so is not affected. The endpoint requires the configured API secret, so this grants no privilege beyond what that secret already implies, but it reads files outside the directory the operator confined it to, and the reference container runs the server as root.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
ZLMediaKit ZLMediaKit fa347d7dbe48dfdce525d3a0fdb92e576970ef9f -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

CVE-2026-81028 概念验证 (1)

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-81028

暂无评论


发表评论