SQL Injection in Inventree
CVE-2026-33531
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (29.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 29.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Inventree — versions < 1.2.6
- Inventree Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769 (Vendor Advisory)
- github.com/inventree/InvenTree/pull/11579 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2026-33531?
- CVE-2026-33531 is a medium-severity vulnerability in Inventree, classified under SQL Injection. CVSS score: 6.5/10. Published 2026-03-26.
- How severe is CVE-2026-33531?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2026-33531 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.