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.
References
| Link | Resource |
|---|---|
| https://github.com/inventree/InvenTree/pull/11579 | Issue Tracking Patch |
| https://github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769 | Vendor Advisory |
Configurations
History
01 Apr 2026, 18:50
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:inventree_project:inventree:*:*:*:*:*:*:*:* | |
| First Time |
Inventree Project
Inventree Project inventree |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
| References | () https://github.com/inventree/InvenTree/pull/11579 - Issue Tracking, Patch | |
| References | () https://github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769 - Vendor Advisory |
30 Mar 2026, 13:26
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
26 Mar 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-26 20:16
Updated : 2026-04-01 18:50
NVD link : CVE-2026-33531
Mitre link : CVE-2026-33531
CVE.ORG link : CVE-2026-33531
JSON object : View
Products Affected
inventree_project
- inventree
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
