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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-49358— Pontedilana PhpWeasyPrint 输入验证错误漏洞

CVSS 3.0 · Low EPSS 0.15% · P5

可能的 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
来源: CVE Program / CVE List V5
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
来源: CVE Program / CVE List V5
Vulnerability Title
Pontedilana PhpWeasyPrint 输入验证错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Pontedilana PhpWeasyPrint是Pontedilana公司开源的一个 PHP 库,作为 WeasyPrint 的封装器,支持从 URL 或 HTML 页面生成 PDF 文档,API 设计兼容 KnpLabs/snappy。 php-weasyprint 2.6.0之前版本存在安全漏洞,该漏洞源于对临时文件路径验证不足,可能导致任意文件被删除。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本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 HIGHPontedilana PhpWeasyPrint 命令注入漏洞
CVE-2026-492868.1 HIGHPontedilana PhpWeasyPrint 反序列化漏洞
CVE-2026-493596.5 MEDIUMPontedilana PhpWeasyPrint 服务端请求伪造漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-49358

暂无评论


发表评论