Skip to main content

Inventree CVE-2026-35478

| EUVDEUVD-2026-20590 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-04-08 security-advisories@github.com
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege InvenTree user
  2. Delivery
    Send POST request to /api/user/tokens/
  3. Exploit
    Specify target admin user ID in request
  4. Execution
    Receive valid API token for admin account
  5. Impact
    Execute privileged API actions as administrator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires authenticated access to InvenTree 0.16.0–1.2.6. Any authenticated user can exploit by sending POST /api/user/tokens/ with arbitrary target user ID to forge API tokens as administrators/superusers. No victim interaction needed; tokens are immediately usable remotely.

Impact

Authenticated users can forge API tokens for any account, including admins, enabling full system compromise. CVSS 8.3 reflects high confidentiality/integrity impact. No complexity barriers post-authentication. Organizations running InvenTree 0.16.0-1.2.6 face immediate insider threat and lateral escalation risk if any user account is compromised or trusted.

Exploit ScenarioDerived

Authenticated attacker submits POST /api/user/tokens/ with target admin's user ID. System returns valid token usable immediately for API requests as that admin, bypassing further authentication. No public exploit identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Authentication bypass in InvenTree open source inventory management system allows any authenticated user to generate API tokens for arbitrary users, including administrators, enabling complete account takeover. Affected versions 0.16.0 through 1.2.6 permit low-privileged users to forge API credentials by manipulating the user field in POST requests to /api/user/tokens/. Resulting tokens provide full API access from any network location without requiring victim interaction. No public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade immediately to InvenTree version 1.2.7 or 1.3.0, which enforce proper authorization checks preventing token generation for non-owned user accounts. No workaround exists for unpatched installations; applying the security update is mandatory. Organizations unable to upgrade immediately should restrict API access to trusted networks only and audit all API tokens created since version 0.16.0 deployment for unauthorized credential issuance. Revoke any tokens created by users other than the token owner. Full vendor security advisory available at https://github.com/inventree/InvenTree/security/advisories/GHSA-qh5j-c28q-c4rg with additional technical details and remediation guidance.

Affected VersionsENISA

InvenTree 0.16.0, < 1.2.7

Affected Packages

euvd inventree_0_16_0 fix: 1.2.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Broken access control in token generation endpoint fails to validate user field parameter against authenticated session identity (CWE-639: Authorization Bypass Through User-Controlled Key). API endpoint accepts arbitrary user_id values in POST body, creating valid JWT or session tokens for targeted accounts without authorization checks, enabling horizontal and vertical privilege escalation through forged credential issuance.

Know when Inventree gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
CVSS changed
Jul 24, 2026 - 21:22 NVD
8.3 (HIGH) 8.1 (HIGH)
Analysis Updated
Apr 16, 2026 - 06:01 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
1.2.7
CVE Published
Apr 08, 2026 - 20:16 nvd
HIGH 8.3

DescriptionNVD

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.

Executive ViewAI

Why It Matters

InvenTree inventory management system versions 0.16.0 through 1.2.6 contain an authentication bypass vulnerability that allows any logged-in user to create API tokens for other users, including administrators, without authorization. This enables complete account takeover and unauthorized API access to sensitive inventory data and operations. Organizations using affected InvenTree versions should prioritize immediate patching to prevent credential compromise and unauthorized system manipulation.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: restrict API token endpoint access via firewall/WAF to authenticated sessions from trusted networks only; disable API token generation functionality if not required for operations; implement continuous monitoring of /api/user/tokens/ POST requests for anomalous user field manipulation; rotate all existing API tokens immediately after patching.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2022-2112 HIGH POC
8.8 Jun 17

Improper Neutralization of Formula Elements in a CSV File in GitHub repository inventree/inventree prior to 0.7.2. Rated

CVE-2022-2111 HIGH POC
8.8 Jun 17

Unrestricted Upload of File with Dangerous Type in GitHub repository inventree/inventree prior to 0.7.2. Rated high seve

CVE-2022-2134 MEDIUM POC
6.5 Jun 20

Allocation of Resources Without Limits or Throttling in GitHub repository inventree/inventree prior to 0.8.0. Rated medi

CVE-2026-35477 CRITICAL
9.9 Apr 08

Remote code execution in InvenTree 1.2.3 through 1.2.6 allows staff users with settings access to execute arbitrary code

CVE-2022-3355 MEDIUM POC
5.4 Sep 29

Cross-site Scripting (XSS) - Stored in GitHub repository inventree/inventree prior to 0.8.3. Rated medium severity (CVSS

CVE-2022-2113 MEDIUM POC
5.4 Jun 17

Cross-site Scripting (XSS) - Stored in GitHub repository inventree/inventree prior to 0.7.2. Rated medium severity (CVSS

CVE-2026-61744 MEDIUM
6.5 Sep 21

Broken object-level authorization in InvenTree prior to 1.4.0 allows any authenticated low-privilege user - or any holde

CVE-2026-61749 MEDIUM
6.5 Sep 21

InvenTree versions prior to 1.4.0 render report and label templates with WeasyPrint's default URL fetcher, so an authent

CVE-2026-33530 MEDIUM
6.5 Mar 26

Authenticated attackers with low-level privileges can exfiltrate sensitive database information from InvenTree open sour

CVE-2026-27629 MEDIUM
5.9 Feb 25

InvenTree prior to version 1.2.3 allows authenticated staff users to inject malicious Jinja2 template code into batch co

CVE-2024-47610 MEDIUM
5.4 Oct 07

InvenTree is an Open Source Inventory Management System. Rated medium severity (CVSS 5.4), this vulnerability is remotel

CVE-2026-61746 MEDIUM
5.3 Sep 21

Unauthenticated information disclosure in InvenTree prior to 1.4.0 lets a remote caller retrieve plugin names, setting k

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy