# CVE-2026-39362: InvenTree SSRF in remote image download feature

Source: https://junglewise.ai/threats/cve-2026-39362-inventree-ssrf-in-remote-image-download-feature  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-08. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-39362 · Severity: high · CVSS 7.1 · Published 2026-04-08

InvenTree, an open-source inventory management system, contains a security flaw in its optional remote image download feature. If enabled, an authenticated user can trick the server into making requests to internal network resources or private cloud metadata services that should not be accessible from the outside. This could allow an attacker to probe internal infrastructure or access sensitive internal data.

## Quick answers

**Is CVE-2026-39362 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-39362 being exploited in the wild.

**How severe is CVE-2026-39362?** High severity, with a CVSS score of 7.1, published 8 April 2026.

**Which products and versions are affected?** InvenTree InvenTree < 1.2.7, < 1.3.0.

**Is there a fix for CVE-2026-39362?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-39362 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-39362?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Server-Side Request Forgery (SSRF) vulnerability exists in InvenTree's remote image download functionality. When the 'INVENTREE_DOWNLOAD_FROM_URL' setting is enabled, the application uses the Python 'requests' library to fetch user-provided URLs. The implementation relies solely on Django's URLValidator, which fails to block private IP ranges (e.g., 127.0.0.1, 10.x.x.x) or internal hostnames. Furthermore, because 'allow_redirects' is set to True, an attacker can bypass initial format checks by providing a benign-looking URL that redirects to a restricted internal target. This allows authenticated users to scan internal networks or access cloud metadata services. The issue is resolved in versions 1.2.7 and 1.3.0 by implementing IP address validation against private ranges.

## Affected products

- InvenTree InvenTree < 1.2.7, < 1.3.0

## Timeline

- 2026-04-07: advisory: GitHub Security Advisory published
- 2026-04-08: disclosed: CVE published to NVD

## References

- [https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22](https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22)
