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

- Severity: Medium 4.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-03-26T19:40:50.787Z
- Modified: 2026-10-07T08:10:00.200Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- inventree InvenTree: < 1.2.6
- inventree_project inventree: before 1.2.6

## Every score

- GitHub_M: CVSS:4.0 4.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769> (vendor-advisory)
- <https://github.com/inventree/InvenTree/pull/11579> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-33531](https://www.cve.org/CVERecord?id=CVE-2026-33531), CVE Terms of Use, modified 2026-03-27
- NVD: [CVE-2026-33531](https://nvd.nist.gov/vuln/detail/CVE-2026-33531), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-33531 · Whole record: https://cve.day/CVE-2026-33531.json · Rebuilt by cve.day 2026-11-25T22:59:17.126Z
