← Vulnerability feed

Vulnerability record · CVE-2026-35477 · published 8 April 2026

CVE-2026-35477: Inventree project inventree vulnerability

Inventree Project · Inventree

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.

9.9 CVSS 3.1 Critical EPSS 0.36% · top 72.4% CWE-1336 · CWE-1336
9.9CVSS 3.1 base score
0.36%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
24 Jul 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-35477 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2026-27629Inventree project inventree vulnerabilityInvenTree is an Open Source Inventory Management System. Prior to version 1.2.3, insecure server-side templates can be hijacked to expose secure info…EPSS 0.55%8.8CVE-2022-2111Inventree project inventree unrestricted file upload vulnerabilityUnrestricted Upload of File with Dangerous Type in GitHub repository inventree/inventree prior to 0.7.2.EPSS 1.2%8.8CVE-2022-2112Inventree project inventree csv injection vulnerabilityImproper Neutralization of Formula Elements in a CSV File in GitHub repository inventree/inventree prior to 0.7.2.EPSS 1.3%8.1CVE-2026-35478Inventree project inventree insecure direct object reference vulnerabilityInvenTree is an Open Source Inventory Management System. From 0.16.0 to before 1.2.7, any authenticated InvenTree user can create a valid API token a…EPSS 0.43%6.5CVE-2026-33530Inventree project inventree vulnerabilityInvenTree is an Open Source Inventory Management System. Prior to version 1.2.6, certain API endpoints associated with bulk data operations can be hi…EPSS 0.34%6.5CVE-2022-2134Inventree project inventree allocation without limits vulnerabilityAllocation of Resources Without Limits or Throttling in GitHub repository inventree/inventree prior to 0.8.0.EPSS 0.86%5.7CVE-2025-49000Inventree project inventree uncontrolled resource consumption vulnerabilityInvenTree is an Open Source Inventory Management System. Prior to version 0.17.13, the skip field in the built-in `label-sheet` plugin lacks an upper…EPSS 0.33%5.4CVE-2024-47610Inventree project inventree cross-site scripting vulnerabilityInvenTree is an Open Source Inventory Management System. In affected versions of InvenTree it is possible for a registered user to store javascript i…EPSS 0.32%

Source: NIST National Vulnerability Database (record CVE-2026-35477), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.