Skip to main content

Inventree EUVDEUVD-2026-16361

| CVE-2026-33531 MEDIUM
SQL Injection (CWE-89)
2026-03-26 GitHub_M
4.9
CVSS 4.0 · Vendor: GitHub_M
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Impact

The CVSS 4.0 score of 4.9 reflects a low-to-moderate severity assessment with key mitigating factors: authenticated access is required (PR:L in vector), attack vector is network-based (AV:N), and attack complexity is low (AC:L). The confidentiality impact is high (VC:H), indicating successful exploitation allows unauthorized file read access. However, real-world risk is substantially constrained by the authentication requirement-only staff members with upload or template-editing permissions can exploit this vulnerability, limiting the threat actor pool. EPSS and CISA KEV status are not provided in the input data, preventing full automated exploitation probability assessment. The availability of patched versions (1.2.6, 1.3.0+) and the absence of reported public exploit code or active exploitation reduce immediate urgency compared to unauthenticated critical vulnerabilities. Organizations running InvenTree with high host system privileges (e.g., containers or VMs with broad filesystem access) face elevated risk if a malicious or compromised staff account exists. This is a legitimate security issue requiring prompt patching but does not warrant emergency response procedures for most installations.

Exploit ScenarioDerived

A malicious insider or account-compromised staff member logs into InvenTree and navigates to the report template editor. They craft a report template containing a malicious template tag such as encode_svg_image('../../../../etc/passwd') or similar path traversal payload in one of the vulnerable functions. Upon report generation or preview, the template engine processes the tag without proper path validation and returns the contents of the targeted file to the attacker. If InvenTree runs as a privileged system user with broad filesystem access, the attacker can exfiltrate sensitive files including configuration files, database credentials, or other secrets stored on the server.

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

AnalysisAIv1 – Mar 26, 2026

InvenTree versions prior to 1.2.6 contain a path traversal vulnerability in the report template engine that allows authenticated staff users to read arbitrary files from the server filesystem through crafted template tags in the encode_svg_image(), asset(), and uploaded_image() functions. An attacker with staff privileges can exploit this to access sensitive files if the InvenTree installation runs with elevated host system permissions. Vendor-released patches are available in versions 1.2.6 and 1.3.0 or later; no public exploit code or active exploitation has been confirmed at this time.

RemediationAI

Immediately upgrade InvenTree to version 1.2.6 or later (recommended: 1.3.0 or above) to apply the vendor-released patch. Administrators unable to patch immediately should restrict staff account creation and template upload privileges to fully trusted users only, and monitor InvenTree logs for unusual file access patterns within report generation. If InvenTree runs in a containerized or virtualized environment, apply the principle of least privilege by limiting the service process's filesystem permissions to only necessary directories (e.g., exclude access to /etc/passwd, system configuration, or other sensitive paths). Network-level controls (restricting administrative access to InvenTree to trusted IP ranges) provide additional defense in depth. See vendor advisory at https://github.com/inventree/InvenTree/security/advisories/GHSA-rhc5-7c3r-c769 for detailed patch release notes.

Affected VersionsENISA

InvenTree < 1.2.6

Affected Packages

euvd inventree fix: 1.2.6

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 system (CPE: cpe:2.3:a:inventree:inventree) that processes user-supplied report templates containing Django template tags. The vulnerability resides in the report template tag handlers located in src/backend/InvenTree/report/templatetags/report.py. These template tag functions fail to properly validate or sanitize file paths before passing them to backend file-access operations, enabling directory traversal via sequences such as ../ or similar path manipulation techniques. This is classified as CWE-89 (SQL Injection) in the provided data, though the technical description aligns more closely with CWE-22 (Path Traversal); the discrepancy may reflect miscategorization in the source feed. The vulnerability is exploitable only by authenticated users with staff-level privileges, meaning access to the InvenTree administrative interface is a prerequisite.

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

Vendor (GitHub_M) PRIMARY 4.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
1.2.6
CVE Published
Mar 26, 2026 - 19:40 nvd
MEDIUM 4.9

DescriptionCVE.org

InvenTree is an Open Source Inventory Management System. Prior to version 1.2.6, a path traversal vulnerability in the report template engine allows a staff-level user to read arbitrary files from the server filesystem via crafted template tags. Affected functions: encode_svg_image(), asset(), and uploaded_image() in src/backend/InvenTree/report/templatetags/report.py. This requires staff access (to upload / edit templates with maliciously crafted tags). If the InvenTree installation is configured with high access privileges on the host system, this path traversal may allow file access outside of the InvenTree source directory. This issue is patched in version 1.2.6, and 1.3.0 (or above). Users should update to the patched versions. No known workarounds are available.

Executive ViewAI

Why It Matters

Organizations using InvenTree should be aware of moderate risk from CVE-2026-33531, a SQL injection vulnerability rated CVSS 4.9. Exploitation could allow attackers to execute code or inject malicious input. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% 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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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