Skip to main content

Inventree CVE-2026-39362

| EUVDEUVD-2026-20596 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-08 security-advisories@github.com
5.3
CVSS 4.0 · Vendor: github
View

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.

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 – 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

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'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

Vendor (github) PRIMARY 5.3 MEDIUM
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

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

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
1.2.7
CVE Published
Apr 08, 2026 - 20:16 nvd
MEDIUM 5.3

DescriptionCVE.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

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

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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