Skip to content

CVE-2026-39362 InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote_image URLs

MediumCVSS 5.3 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
inventree project inventree < 1.2.7 1.2.7 Fixed
InvenTree = < 1.2.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
InvenTree = < 1.2.7 No fix listed
inventree project inventree < 1.2.7 1.2.7

References