CVE Explorer
CVE-2026-35477
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 us
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"InvenTree","vendor":"inventree","versions":[{"status":"affected","version":">= 1.2.3, < 1.2.7"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:09244adeef82dd1debfdc5ea066f4f92c3a7c672a4eacf4629f700d207a6751d · sha256:3c6948bb39983fc5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:09244adeef82dd1debfdc5ea066f4f92c3a7c672a4eacf4629f700d207a6751d · sha256:3c6948bb39983fc5… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:09244adeef82dd1debfdc5ea066f4f92c3a7c672a4eacf4629f700d207a6751d · sha256:3c6948bb39983fc5… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/inventree/InvenTree/security/advisories/GHSA-84jh-x777-8pqq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-84jh-x777-8pqq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:09244adeef82dd1debfdc5ea066f4f92c3a7c672a4eacf4629f700d207a6751d · sha256:3c6948bb39983fc5… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.