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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Improper Neutralization of Formula Elements in a CSV File in GitHub repository inventree/inventree prior to 0.7.2. Rated
Unrestricted Upload of File with Dangerous Type in GitHub repository inventree/inventree prior to 0.7.2. Rated high seve
Allocation of Resources Without Limits or Throttling in GitHub repository inventree/inventree prior to 0.8.0. Rated medi
Remote code execution in InvenTree 1.2.3 through 1.2.6 allows staff users with settings access to execute arbitrary code
Cross-site Scripting (XSS) - Stored in GitHub repository inventree/inventree prior to 0.8.3. Rated medium severity (CVSS
Cross-site Scripting (XSS) - Stored in GitHub repository inventree/inventree prior to 0.7.2. Rated medium severity (CVSS
Authentication bypass in InvenTree open source inventory management system allows any authenticated user to generate API
Broken object-level authorization in InvenTree prior to 1.4.0 allows any authenticated low-privilege user - or any holde
InvenTree versions prior to 1.4.0 render report and label templates with WeasyPrint's default URL fetcher, so an authent
Authenticated attackers with low-level privileges can exfiltrate sensitive database information from InvenTree open sour
InvenTree prior to version 1.2.3 allows authenticated staff users to inject malicious Jinja2 template code into batch co
InvenTree is an Open Source Inventory Management System. Rated medium severity (CVSS 5.4), this vulnerability is remotel
EUVD-2026-16361
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB