{"id":"CVE-2026-39362","summary":"InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote_image URLs","details":"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.","aliases":["GHSA-m9j7-jw3m-fr22"],"modified":"2026-07-27T03:56:17.145561741Z","published":"2026-04-08T19:32:46.744Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39362.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39362.json"},{"type":"ADVISORY","url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39362"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/inventree/inventree","events":[{"introduced":"0"},{"fixed":"01bf60000462fd19d8f939a0561e55e08f38a260"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.2.7"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:inventree_project:inventree:*:*:*:*:*:*:*:*"}}],"versions":["1.2.6","1.2.5","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","0.13.0","0.12.0","0.11.0","0.10.0","0.9.0","0.8.0","v0.7.0","0.4.0","0.3.0","0.2.4","0.2.3","0.2.2","0.2.1","0.2.0","0.1.8","0.1.7","0.1.6","0.1.5","0.1.4","v0.1.3","0.1.2","0.1.1","0.1.0","0.0.11","0.0.12","v0.0.11","0.0.10","0.0.9","0.0.8","v0.0.7","0.0.6","v0.0.5","0.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39362.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}