InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote_image URLs
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA InvenTree (inventree) Fixed in 1.2.7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39362
References
More Inventree vulnerabilities
- TI-2022-03101 Cross-site Scripting (XSS) - Stored in inventree/inventree CVSS 3.1MEDIUM 5.4
- TI-2026-27607 InvenTree has SSTI in PART_NAME_FORMAT bypasses CVE-2026-27629 fix via {% if part.pk %} sandbox escape CVSS 3.1CRITICAL 9.9
- TI-2022-01953 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree CVSS 3.1HIGH 8.8
- TI-2022-01952 Unrestricted Upload of File with Dangerous Type in inventree/inventree CVSS 3.1HIGH 8.8
- TI-2026-27608 InvenTree has Arbitrary API Token Creation CVSS 3.1HIGH 8.3
- TI-2026-22011 InvenTree Vulnerable to Server Side Template Injection (SSTI) CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences