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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-84374— Laravel Excel 磁盘路径控制导出漏洞

一分钟漏洞结论

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

Laravel Excel 为 Laravel 框架提供高性能的 Excel 导出与导入功能。 在 3.1.8 至 3.1.70 版本中, 中的 方法存在缺陷:通过 、 或 传入的、由调用者控制的 参数,会被 解析为进程当前工作目录下的路径,而非配置的文件系统磁盘(disk)。 如果该路径指向一个已存在且可写的文件, 会以 模式通过 打开该文件,并调用 进行数据复制。这一过程绕过了 Flysystem 的路径限制机制,使得能够控制导出路径的应用输入的攻击者,可以覆盖任意已存在的文件。 此外,由于使用 模式(不截断文

CVSS 7.5 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Laravel Excel writes exports outside the configured filesystem disk when given a caller-controlled path
来源: CVE Program / CVE List V5
Vulnerability Description
Laravel Excel provides supercharged Excel exports and imports in Laravel. From 3.1.8 until 3.1.70, in src/Files/Disk.php the Maatwebsite\Excel\Files\Disk::copy() method resolves the caller-controlled $destination supplied through Excel::store(), $export->store(), or storeExcel() against the process working directory with realpath() instead of the configured filesystem disk. If the path names an existing writable file, Disk::copy() opens it with fopen() in rb+ mode and uses stream_copy_to_stream(), bypassing Flysystem path confinement and allowing an attacker whose application input controls the export path to overwrite arbitrary existing files with export content. The rb+ behavior creates a non-truncating overwrite and trailing bytes when the new export is shorter, and overwriting an executable PHP file can lead to remote code execution. This issue is fixed in version 3.1.70.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
SpartnerNL Laravel-Excel >= 3.1.8, < 3.1.70 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-84374

暂无评论


发表评论