Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 5.3 (Medium) with Attack Vector Network, Low Complexity, and Low Privilege requirement reflects the authentication gate: the vulnerability requires valid user credentials (PR:L), limiting the threat surface to insider threats or compromised accounts. The CVSS vector indicates Low Scope impact (SC:L) with Low Integrity and Low Availability impact (SI:L, SA:N), suggesting the vulnerability enables information disclosure rather than direct system compromise. However, SSRF vulnerabilities are inherently high-risk because they can chaininto severe attacks: an attacker can enumerate internal services, access cloud metadata (AWS EC2 role credentials, GCP tokens), exploit internal API endpoints without authentication, or pivot toward backend databases. The lack of a CISA KEV listing and absence of confirmed public exploit code suggests this is not currently mass-exploited, but the technical barrier to exploitation is extremely low once credentials are obtained. Real-world risk depends heavily on deployment context: air-gapped environments with strict network segmentation have low risk, while cloud-native deployments with overly permissive backend security groups have critical risk. |
| Exploit ScenarioDerived | An authenticated attacker with InvenTree user credentials uploads an item and supplies a remote_image URL pointing to http://169.254.169.254/latest/meta-data/ (AWS EC2 metadata endpoint) or http://localhost:8000/admin/ (internal admin API). Due to the lack of IP-range validation and HTTP redirect following, the server fetches and potentially exposes sensitive data such as cloud credentials, API keys, or internal configuration. No public exploit code is required; the attack is a simple HTTP request with a malicious URL parameter, making exploitation trivial for any authenticated user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Server-side request forgery (SSRF) in InvenTree prior to versions 1.2.7 and 1.3.0 allows authenticated users to request arbitrary internal URLs when the INVENTREE_DOWNLOAD_FROM_URL feature is enabled, bypassing URL validation through HTTP redirect chains. An attacker with valid credentials can probe internal networks, access cloud metadata endpoints, or interact with backend services not exposed to the public internet by supplying crafted remote_image URLs that are fetched server-side without IP-range restrictions.
RemediationAI
Upgrade InvenTree to version 1.2.7 or 1.3.0 or later, which includes server-side validation restricting requests to public IP address ranges and preventing SSRF via HTTP redirects. Users unable to upgrade immediately should disable INVENTREE_DOWNLOAD_FROM_URL in their configuration (set to False in settings). Additionally, implement network-layer controls: restrict outbound traffic from the InvenTree application server to only necessary external domains and block access to private IP ranges via firewall rules or container network policies. If INVENTREE_DOWNLOAD_FROM_URL must remain enabled, audit current users and restrict this feature to trusted administrators only. See https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22 for official guidance.
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's INVENTREE_DOWNLOAD_FROM_URL feature uses Python's requests.get() library to fetch images from user-supplied URLs. The vulnerability stems from reliance on Django's URLValidator alone, which performs format validation but does not restrict access to private IP address ranges (RFC 1918: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback addresses (127.0.0.0/8), or link-local addresses. The requests library's default behavior of following HTTP 3xx redirects (allow_redirects=True) further enables attackers to bypass initial URL-format checks by supplying a public URL that redirects to an internal target. This is classified as CWE-918: Server-Side Request Forgery (SSRF), a critical network-access control bypass.
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:N/VI:N/VA:N/SC:L/SI:L/SA:N
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
InvenTree is an Open Source Inventory Management System. Prior to 1.2.7 and 1.3.0, when INVENTREE_DOWNLOAD_FROM_URL is enabled (opt-in), authenticated users can supply remote_image URLs that are fetched server-side via requests.get() with only Django's URLValidator check. There is no validation against private IP ranges or internal hostnames. Redirects are followed (allow_redirects=True), enabling bypass of any URL-format checks. This vulnerability is fixed in 1.2.7 and 1.3.0.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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-20596
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB