CVE-2026-33531 Details
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.
A path traversal vulnerability has been identified in InvenTree, an open-source inventory management system, prior to version 1.2.6. This vulnerability exists in the report template engine, where a staff-level user can read arbitrary files from the server's filesystem by using crafted template tags. The issue affects the 'encode_svg_image()', 'asset()', and 'uploaded_image()' functions in the report template tags module. Exploitation requires staff access to upload or edit templates with malicious tags. If the InvenTree installation has high access privileges on the host system, this vulnerability could allow file access outside of the InvenTree source directory.
Users should update to InvenTree version 1.2.6 or 1.3.0 and above, where this vulnerability has been patched. No known workarounds are available.
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.
CISA-ADP
Assessed Mar 27, 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/pull/11579 | [email protected] | Issue TrackingPatch |
| https://github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| inventree project inventree | < 1.2.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | Initial Analysis | [email protected] |
| Mar 26, 2026 | New CVE Received | [email protected] |