What’s Vulnerable › Vulnerabilities
CVE-2026-33531: InvenTree has Path Traversal In Report Templates
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-26 · updated 2026-10-07
- Weakness: CWE-89
Description
InvenTree is an Open Source Inventory Management System. Prior to version 1.2.6, a path traversal vulnerability in the report template engine allows a staff-level user to read arbitrary files from the server filesystem via crafted template tags. Affected functions: `encode_svg_image()`, `asset()`, and `uploaded_image()` in `src/backend/InvenTree/report/templatetags/report.py`. This requires staff access (to upload / edit templates with maliciously crafted tags). If the InvenTree installation is configured with high access privileges on the host system, this path traversal may allow file access outside of the InvenTree source directory. This issue is patched in version 1.2.6, and 1.3.0 (or above). Users should update to the patched versions. No known workarounds are available.
Affected products
- InvenTree: before 1.2.6 — fixed in 1.2.6
How to fix
Upgrade to a fixed version: InvenTree 1.2.6. Check the vendor advisory for mitigations.
References
- https://github.com/inventree/InvenTree/pull/11579
- https://github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769
Get alerted when CVE-2026-33531 or the next vulnerability affects your stack