Skip to main content

Inventree EUVDEUVD-2026-20586

| CVE-2026-35476 MEDIUM
Improper Authorization (CWE-285)
2026-04-08 security-advisories@github.com
4.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain user account credentials
  2. Delivery
    Authenticate to InvenTree API
  3. Exploit
    Craft POST request with staff elevation payload
  4. Execution
    Submit to /api/user/{id}/ endpoint
  5. Persist
    Gain administrative privileges
  6. Impact
    Access restricted inventory functions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must have an authenticated user account on the target InvenTree instance, which can be obtained through open user registration (if enabled), invitation workflows, or credential compromise. The vulnerable API endpoint is exposed in default InvenTree configurations with no special features or non-default settings required. Exploitation is limited to InvenTree versions prior to 1.2.7 and 1.3.0 running with standard Django REST Framework API enabled (default deployment mode). Attack surface is constrained by whether the instance permits user registration or the attacker has alternate means to establish initial authenticated access. Network reachability to the InvenTree web application is required, but no additional authentication beyond basic user credentials gates the privilege escalation itself, contradicting the CVSS vector's PR:N classification.

Impact

CVSS 7.2 (High) with network attack vector, low complexity, and no required privileges suggests significant risk, but multiple signals indicate moderate real-world priority. The CVSS vector contains an apparent inconsistency: PR:N (no privileges required) contradicts the description stating 'non-staff authenticated user' must exploit the flaw - authentication IS a privilege requirement, suggesting the vector should be PR:L. This discrepancy requires vendor clarification. EPSS probability of 0.03% (8th percentile) indicates security researchers assess actual exploitation risk as very low despite theoretical severity. SSVC framework confirms no active exploitation, categorizes the attack as non-automatable (requires account creation and targeted API interaction), and rates technical impact as partial (privilege escalation within application scope, not system compromise). The vulnerability enables horizontal-to-vertical privilege movement but requires initial authenticated access, limiting attack surface to environments where user registration is permitted or credentials are compromised through other means. Priority should be high for internet-facing InvenTree instances with open registration, moderate for internal deployments with controlled user provisioning.

Exploit ScenarioDerived

An attacker registers a standard user account on a publicly accessible InvenTree instance (or compromises existing credentials via phishing). Using API documentation or intercepting legitimate requests, they craft a POST request to their own user endpoint (/api/user/{their_user_id}/) with JSON payload setting 'is_staff': true. The improperly configured API endpoint accepts this modification without validating the requester's existing privilege level, immediately granting staff access. The attacker refreshes their session and gains access to administrative inventory management functions including viewing all organization inventory data, modifying stock records, accessing supplier information, and potentially altering system configurations depending on role-based access control policies downstream of staff status.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Apr 21, 2026

Privilege escalation in InvenTree inventory management system versions prior to 1.2.7 and 1.3.0 allows remote unauthenticated attackers to elevate any user account to staff level through improperly secured API endpoints. Exploitation requires no special conditions beyond network access and enables unauthorized administrative access to inventory management functions. EPSS score of 0.03% (8th percentile) indicates low observed exploitation likelihood, and SSVC assessment confirms no known exploitation with non-automatable attack requiring user account creation first.

Earlier versions of this analysis (1)
v1 Apr 08, 2026 - 20:23 CVSS 7.2

Privilege escalation in InvenTree Open Source Inventory Management System versions before 1.2.7 and 1.3.0 allows any authenticated user to elevate to staff-level permissions through improperly secured API endpoints. The vulnerability stems from misconfigured write permissions on user account endpoints, enabling unauthorized modification of staff status flags via POST requests. Exploitation requires only valid user credentials. No public exploit identified at time of analysis.

RemediationAI

Upgrade immediately to InvenTree version 1.2.7 or 1.3.0, both confirmed patched releases per GitHub security advisory GHSA-r8q5-3595-3jh2. Organizations running 1.2.x stable branch should update to 1.2.7; those on 1.3.x development track should update to 1.3.0 or later. Follow upgrade procedures at vendor documentation and verify user permission configurations post-upgrade. If immediate patching is not feasible, implement network-level access controls restricting API endpoint access to trusted IP ranges and deploy a reverse proxy (nginx, Apache) with request filtering rules to block PUT/POST/PATCH requests to /api/user/{id}/ endpoints from non-administrative source addresses - this workaround introduces operational overhead requiring whitelist maintenance for legitimate administrative access and may break mobile applications or distributed workflows. Additionally, conduct immediate audit of user accounts for unauthorized staff privilege assignments using Django admin interface or database queries against auth_user table filtering is_staff=true, revoking elevated privileges from accounts created or modified within vulnerable window. Note that access control workarounds do not address the underlying authorization flaw and should be considered temporary compensating controls only.

Affected VersionsENISA

InvenTree < 1.2.7

Affected Packages

euvd inventree 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

InvenTree is an open-source inventory management platform built with Django and Django REST Framework. This vulnerability stems from CWE-285 (Improper Authorization), specifically inadequate access controls on user account modification API endpoints. The REST API framework's permission classes were misconfigured to allow write operations on the user profile endpoint without proper staff-level authorization checks. This architectural flaw permits POST requests containing privilege escalation payloads to succeed when they should be restricted to existing staff accounts or system administrators. The vulnerability affects the user serializer and view logic that handles account attribute updates, where the 'is_staff' boolean field modification was not properly gated behind administrative permission validators.

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 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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
None
Integrity
Low
Availability
None

Lifecycle Timeline

6
Severity Changed
Jul 24, 2026 - 21:22 NVD
HIGH MEDIUM
CVSS changed
Jul 24, 2026 - 21:22 NVD
7.2 (HIGH) 4.3 (MEDIUM)
Analysis Updated
Apr 21, 2026 - 13:43 vuln.today
v2 - CVSS changed
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 7.2

DescriptionNVD

InvenTree is an Open Source Inventory Management System. Prior to 1.2.7 and 1.3.0, a non-staff authenticated user can elevate their account to a staff level via a POST request against their user account endpoint. The write permissions on the API endpoint are improperly configured, allowing any user to change their staff status. This vulnerability is fixed in 1.2.7 and 1.3.0.

Executive ViewAI

Why It Matters

InvenTree inventory management system versions before 1.2.7 and 1.3.0 contain a privilege escalation vulnerability in API endpoints that allows unauthenticated attackers to grant staff-level administrative access to any user account, potentially compromising control over inventory data and system administration. Organizations using affected versions risk unauthorized administrative access without requiring valid credentials, directly impacting data integrity and operational control of inventory management functions.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not possible, restrict network access to InvenTree API endpoints to authenticated internal networks only, disable public API access, and implement network-based access controls to limit who can reach the vulnerable endpoints.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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-35478 HIGH
8.1 Apr 08

Authentication bypass in InvenTree open source inventory management system allows any authenticated user to generate API

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

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