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

目标: 1000 元 · 已筹: 1325

100%

CVE-2026-49358— PhpWeasyPrint 关闭时任意文件删除漏洞

CVSS 3.0 · Low

可能的 ATT&CK 技术 1AI

T1070 · Indicator Removal

影响版本矩阵 1

厂商产品版本范围状态
pontedilanaphp-weasyprint< 2.6.0affected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.6.0, `AbstractGenerator::$temporaryFiles` is a public array, and `removeTemporaryFiles()` — invoked from `__destruct()` and from a registered shutdown function — calls `unlink()` on every entry without verifying that the path is contained within the temporary folder. Any code holding a reference to a generator instance can push an arbitrary path into the array and have it deleted on script shutdown. This mirrors the KnpLabs/snappy issue GHSA-87qc-37cw-84h4. PhpWeasyPrint version 2.6.0 contains a patch for the issue.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
文件名或路径的外部可控制
来源: 美国国家漏洞数据库 NVD

受影响产品

厂商产品影响版本CPE订阅
pontedilanaphp-weasyprint < 2.6.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

CVE-2026-49358 厂商安全公告 (2)

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

同批安全公告 · pontedilana · 2026-06-19 · 共 4 条

CVE-2026-492608.2 HIGHPhpWeasyPrint 远程代码执行漏洞
CVE-2026-492868.1 HIGHPhpWeasyPrint PHAR反序列化漏洞
CVE-2026-493596.5 MEDIUMPhpWeasyPrint 附件选项导致SSRF和本地文件泄露漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-49358

暂无评论


发表评论