Skip to content

CVE-2026-33531 InvenTree has Path Traversal In Report Templates

MediumCVSS 4.9 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
inventree project inventree < 1.2.6 1.2.6 Fixed
InvenTree = < 1.2.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
InvenTree = < 1.2.6 No fix listed
inventree project inventree < 1.2.6 1.2.6

References