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

Published Apr 8, 2026
·
Updated

InvenTree is an Open Source Inventory Management System. Prior to 1.2.7 and 1.3.0, when INVENTREEDOWNLOADFROMURL is enabled (opt-in), authenticated users can supply remoteimage 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 (allowredirects=True), enabling bypass of any URL-format checks. This vulnerability is fixed in 1.2.7 and 1.3.0.

Affected Software

2 affected components
pypi/inventree<1.2.7, <1.3.0
Inventree Project Inventree<1.2.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade InvenTree to a version that resolves this vulnerability.

    Fixed in 1.2.7
  2. Upgrade

    Upgrade InvenTree to a version that resolves this vulnerability.

    Fixed in 1.3.0

Event History

Apr 8, 2026
CVE Published
via MITRE·07:32 PM
Data Sourced
via MITRE·07:32 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-39362?

CVE-2026-39362 has been categorized with a moderate severity due to its potential for SSRF attacks.

2

How do I fix CVE-2026-39362?

To remediate CVE-2026-39362, upgrade InvenTree to version 1.2.7 or 1.3.0 or later where the vulnerability is patched.

3

Who is affected by CVE-2026-39362?

Authenticated users of InvenTree versions prior to 1.2.7 and 1.3.0 who have enabled the INVENTREE_DOWNLOAD_FROM_URL option are affected by CVE-2026-39362.

4

What causes CVE-2026-39362?

CVE-2026-39362 is caused by a lack of IP and hostname validation on remote image URLs provided by users.

5

Is CVE-2026-39362 an open source vulnerability?

Yes, CVE-2026-39362 affects InvenTree, which is an open source inventory management system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203