InvenTree: Administrative staff users can trigger Arbitrary File Read leading to Credential Disclosure
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA InvenTree (inventree) Fixed in 1.4.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-61749
References
More inventree vulnerabilities
- TI-2022-03101 Cross-site Scripting (XSS) - Stored in inventree/inventree CVSS 3.1MEDIUM 5.4
- TI-2026-44190 InvenTree: Plugin-settings GET endpoints are readable without authentication CVSS 3.1MEDIUM 5.3
- TI-2026-44189 Missing authorization in InvenTree CVSS 3.1MEDIUM 4.3
- TI-2026-27607 InvenTree has SSTI in PART_NAME_FORMAT bypasses CVE-2026-27629 fix via {% if part.pk %} sandbox escape CVSS 3.1CRITICAL 9.9
- TI-2022-01953 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree CVSS 3.1HIGH 8.8
- TI-2022-01952 Unrestricted Upload of File with Dangerous Type in inventree/inventree CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences