Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M
CVE-2026-39362InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote_image URLs
Medium 5.3
In plain English
A medium-severity server-side request forgery in InvenTree from inventree. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-918 · Vector: 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
References
- https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22 x_refsource_CONFIRM