What’s Vulnerable › Vulnerabilities
CVE-2026-39362: InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote_image URLs
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-08 · updated 2026-10-06
- Weakness: CWE-918
Description
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.
Affected products
- InvenTree: before 1.2.7 — fixed in 1.2.7
How to fix
Upgrade to a fixed version: InvenTree 1.2.7. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-39362 or the next vulnerability affects your stack