原始描述
InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, privileged staff users who can author report or label templates can cause WeasyPrint report rendering to retrieve attacker-selected resources through the HTTP and HTTPS URL schemes or the local file URI scheme. The HTML(string=html).write_pdf() path does not provide a restricted url_fetcher, and attach_to_model=True stores the original generated PDF before later processing, allowing fetched local files or internal HTTP response bodies to be recovered from embedded attachments. This enables full-read server-side request forgery, arbitrary local file disclosure including application credentials, and possible compromise of a superuser account. This issue is fixed in version 1.4.0.
受影响的软件
- Inventree * 仓库或软件包匹配
详情
- 发布日期
- 2026-09-22
- 最后修改
- 2026-09-25
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N- CWE
- CWE-200, CWE-918
- EPSS(30 天内被利用概率)
- 0.48% (百分位 42)
参考资料
- cve.org/CVE-2026-61749
- nvd.nist.gov/vuln/detail/CVE-2026-61749
- github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g
- github.com/inventree/InvenTree/pull/12160
- github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b
- github.com/inventree/InvenTree/releases/tag/1.4.0
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。