Auth bypass in Inventree
CVE-2026-35478
InvenTree 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 attributed to any other user in the system — including administrators and superusers — by supplying the target's user ID in the user field of a POST /api/user/tokens/ request. The returned token is immediately usable for full API authentication as the target user, from any network location, with no further interaction required. This vulnerability is fixed in 1.2.7 and 1.3.0.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.004 (35.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 35.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Inventree — versions >= 0.16.0, < 1.2.7
- Inventree Project
Weakness classification (CWE)
References
- github.com/inventree/InvenTree/security/advisories/GHSA-qh5j-c28q-c4rg (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-35478?
- CVE-2026-35478 is a high-severity vulnerability in Inventree, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 8.3/10. Published 2026-04-08.
- How severe is CVE-2026-35478?
- High severity. CVSS v3 base score is 8.3 out of 10.