CVE-2026-61749 Details
Description
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.
A vulnerability in InvenTree's report and label template rendering functionality prior to version 1.4.0 allows privileged staff users to perform server-side request forgery (SSRF) attacks and read arbitrary local files. This issue arises because WeasyPrint's default resource fetcher, which is not restricted, can access http, https, and file URLs. When the 'attach_to_model' option is enabled, the original WeasyPrint PDF, including any fetched resources, is saved as a model attachment, facilitating the exfiltration of these resources. As a result, an attacker could access internal services, read sensitive files such as application credentials, and potentially escalate privileges to superuser.
Users can update to InvenTree version 1.4.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 21, 2026CISA-ADP
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/inventree/InvenTree/commit/2b4f3037703bd499e420b6904153f2b66878d61b | [email protected] | Source CodeVendor |
| https://github.com/inventree/InvenTree/pull/12160 | [email protected] | Issue TrackingVendor |
| https://github.com/inventree/InvenTree/releases/tag/1.4.0 | [email protected] | Release NotesVendor |
| https://github.com/inventree/InvenTree/security/advisories/GHSA-568x-qh23-wh8g | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| InvenTree | <= 1.3.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | CISA-ADP |
| Sep 21, 2026 | New CVE Received | [email protected] |
Volerion