CVE-2026-33531CWE-89sql-injection

CVE-2026-33531

Medium · published March 27, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
30.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00377 · 30.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-03-27T00:16Z
Affected products (1)
ProductVersionsFixed in
inventree_project/inventree< 1.2.61.2.6
References (2)
EPSS history
Timeline
  • 26 MAR 19:40Z
    InvenTree has Path Traversal In Report Templates
    cvelistv5