CVE-2026-39362: InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote_image URLs
InvenTree is an Open Source Inventory Management System. Prior to 1.2.7 and 1.3.0, when INVENTREEDOWNLOADFROMURL is enabled (opt-in), authenticated users can supply remoteimage 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 (allowredirects=True), enabling bypass of any URL-format checks. This vulnerability is fixed in 1.2.7 and 1.3.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
InvenTreeto a version that resolves this vulnerability.Fixed in 1.2.7 - Upgrade
Upgrade
InvenTreeto a version that resolves this vulnerability.Fixed in 1.3.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-39362?
CVE-2026-39362 has been categorized with a moderate severity due to its potential for SSRF attacks.
How do I fix CVE-2026-39362?
To remediate CVE-2026-39362, upgrade InvenTree to version 1.2.7 or 1.3.0 or later where the vulnerability is patched.
Who is affected by CVE-2026-39362?
Authenticated users of InvenTree versions prior to 1.2.7 and 1.3.0 who have enabled the INVENTREE_DOWNLOAD_FROM_URL option are affected by CVE-2026-39362.
What causes CVE-2026-39362?
CVE-2026-39362 is caused by a lack of IP and hostname validation on remote image URLs provided by users.
Is CVE-2026-39362 an open source vulnerability?
Yes, CVE-2026-39362 affects InvenTree, which is an open source inventory management system.