CVE-2026-61749: InvenTree: Administrative staff users can trigger Arbitrary File Read leading to Credential Disclosure

Published Sep 21, 2026
·
Updated

InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, privileged staff users who can author report or label templates can cause WeasyPrint report rendering to retrieve attacker-selected resources through the HTTP and HTTPS URL schemes or the local file URI scheme. The HTML(string=html).writepdf() path does not provide a restricted urlfetcher, and attachtomodel=True stores the original generated PDF before later processing, allowing fetched local files or internal HTTP response bodies to be recovered from embedded attachments. This enables full-read server-side request forgery, arbitrary local file disclosure including application credentials, and possible compromise of a superuser account. This issue is fixed in version 1.4.0.

Affected Software

1 affected component
InvenTree InvenTree<1.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade InvenTree to a version that resolves this vulnerability.

    Fixed in 1.4.0

Event History

Sep 21, 2026
CVE Published
via MITRE·06:31 PM
Data Sourced
via MITRE·06:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

Exploitation requires a privileged staff account with permission to author report or label templates. The attack is network-reachable and does not require user interaction once the attacker has the necessary privileges.

2

What data could be exposed?

An attacker can retrieve resources from internal HTTP/HTTPS endpoints and read local files through file URIs. Retrieved content can be recovered from embedded attachments in generated PDFs, potentially disclosing application credentials and enabling compromise of a superuser account.

3

Which versions are affected and what version fixes it?

InvenTree versions prior to 1.4.0 are affected. The issue is fixed in version 1.4.0.

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