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

Published Mar 26, 2026
·
Updated

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: encodesvgimage(), asset(), and uploadedimage() 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.

Affected Software

2 affected components
InvenTree InvenTree<1.2.6
Inventree Project Inventree<1.2.6

Event History

Mar 26, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33531?

CVE-2026-33531 is classified as a critical severity vulnerability due to its potential to expose sensitive files on the server.

2

How do I fix CVE-2026-33531?

To fix CVE-2026-33531, upgrade InvenTree to version 1.2.6 or later, which addresses this path traversal vulnerability.

3

Who is affected by CVE-2026-33531?

CVE-2026-33531 affects all versions of InvenTree prior to 1.2.6, particularly impacting staff-level users.

4

What type of vulnerability is CVE-2026-33531?

CVE-2026-33531 is a path traversal vulnerability that allows unauthorized file access on the server.

5

What can an attacker do with CVE-2026-33531?

An attacker exploiting CVE-2026-33531 can read arbitrary files from the server filesystem, potentially leading to data breaches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203