SSRF in Inventree
CVE-2026-39362
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.002, 14.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Inventree — versions < 1.2.7
- Inventree Project
Weakness classification (CWE)
References
- https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22 (Third Party Advisory)