CVE-2026-35477Medium· 5.5▾ SunlitInvenTree is an Open Source Inventory Management System. From 1.2.3 to 1.2.6, the fix for CVE-2026-27629 upgraded the PART_NAME_FORMAT validator to use jinja2.sandbox.SandboxedEnvironment. However, the actual renderer in part/helpers.py …
▾ Sunlit zone — Low / medium · no exploitation signal
impact 30.3 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
Last analysed / modified upstream
0.4%
InvenTree is an Open Source Inventory Management System. From 1.2.3 to 1.2.6, the fix for CVE-2026-27629 upgraded the PART_NAME_FORMAT validator to use jinja2.sandbox.SandboxedEnvironment. However, the actual renderer in part/helpers.py was not updated and still uses the non-sandboxed jinja2.Environment. Additionally, the validator uses a dummy Part instance with pk=None, which allows conditional template expressions to behave differently during validation versus production rendering. A staff user with settings access can craft a template that passes validation but executes arbitrary code during rendering. This issue requires access by a user with granted staff permissions. This vulnerability is fixed in 1.2.7 and 1.3.0.
inventree >= 1.2.3, <= 1.2.6Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-35479Medium· 6.6InvenTree is an Open Source Inventory Management System
CVE-2026-39362High· 7.1InvenTree is an Open Source Inventory Management System
CVE-2026-35476High· 7.2InvenTree is an Open Source Inventory Management System
CVE-2026-35478High· 8.3InvenTree is an Open Source Inventory Management System
CVE-2026-61748Medium· 4.3InvenTree is an Open Source Inventory Management System
CVE-2026-61746Medium· 5.3InvenTree is an Open Source Inventory Management System