Insecure Template Hijacking in InvenTree Inventory Management System
CVE-2026-27629
What is CVE-2026-27629?
InvenTree, an Open Source Inventory Management System, is affected by a vulnerability that allows insecure server-side templates to be hijacked. This could result in the exposure of sensitive information or unauthorized code execution on the server. The vulnerability arises when a staff user modifies a customizable Jinja2 template to exfiltrate secure data while generating custom batch codes. Any user can trigger the execution of this malicious template code without direct permission, leading to potential data breaches. The issue has been mitigated in version 1.2.3, which implements secure sandboxing for template execution. Users are encouraged to override critical settings at the system level for installations prior to this version to prevent unauthorized template edits.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
InvenTree < 1.2.3
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
