Remote Code Execution Vulnerability in InvenTree Inventory Management System
CVE-2026-39362
5.3MEDIUM
What is CVE-2026-39362?
InvenTree is an open-source inventory management system that inadvertently allows authenticated users to exploit the system through a configuration option. When the feature 'INVENTREE_DOWNLOAD_FROM_URL' is enabled, users can provide remote image URLs that are fetched server-side. The application uses Django's URLValidator for basic validation, which does not check against private IP ranges or internal hostnames. Consequently, this creates a potential security loophole where malicious redirects can be executed, allowing attackers to bypass any URL-format validation. The vulnerability has been addressed in the versions 1.2.7 and 1.3.0.
Affected Version(s)
InvenTree < 1.2.7
