# CVE-2026-61745: InvenTree machine restart privilege escalation

Source: https://junglewise.ai/threats/cve-2026-61745-inventree-is-an-open-source-inventory-management-system-prior-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-21. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-61745 · Severity: medium · CVSS 4.3 · Published 2026-09-21

InvenTree is an open-source inventory management system that integrates with hardware devices like barcode scanners and 3D printers. A vulnerability in versions prior to 1.4.0 allows any authenticated warehouse worker to restart connected machines without proper authorization, potentially interrupting critical operations and disrupting business workflows.

Technologies: [InvenTree](https://junglewise.ai/threats/technologies/inventree-inventree). Vendors: [InvenTree](https://junglewise.ai/threats/vendors/inventree).

## Quick answers

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

**How severe is CVE-2026-61745?** Medium severity, with a CVSS score of 4.3, published 21 September 2026.

**Which products and versions are affected?** InvenTree prior to 1.4.0.

**Is there a fix for CVE-2026-61745?** A patch was published on 2026-06-18. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-61745 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-61745?** Check whether you run InvenTree at an affected version. 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

The POST /api/machine/{pk}/restart/ endpoint in InvenTree uses insufficient permission checks (IsAuthenticatedOrReadScope) instead of requiring ADMIN role, allowing authenticated users without elevated privileges to trigger MachineRestart and invoke registry.restart_machine() on any registered machine. The vulnerability affects any authenticated user with limited roles like STOCK, and is fixed by restricting the endpoint to staff users only as of version 1.4.0.

## Affected products

- InvenTree InvenTree prior to 1.4.0

## Timeline

- 2026-09-21: disclosed
- 2026-06-18: patched

## References

- [https://github.com/inventree/InvenTree/commit/29b8ed91d22e7471a75c1197cd8f45a13ad40fdd](https://github.com/inventree/InvenTree/commit/29b8ed91d22e7471a75c1197cd8f45a13ad40fdd)
- [https://github.com/inventree/InvenTree/pull/12197](https://github.com/inventree/InvenTree/pull/12197)

## Related threats

- [InvenTree server-side request forgery in PDF report generation](https://junglewise.ai/threats/cve-2026-61749-inventree-is-an-open-source-inventory-management-system-prior-to)
- [InvenTree authorization bypass in report and label printing](https://junglewise.ai/threats/cve-2026-61748-inventree-is-an-open-source-inventory-management-system-prior-to)
- [InvenTree data import authorization bypass in API](https://junglewise.ai/threats/cve-2026-61747-inventree-is-an-open-source-inventory-management-system-prior-to)
- [InvenTree plugin settings information disclosure](https://junglewise.ai/threats/cve-2026-61746-inventree-is-an-open-source-inventory-management-system-prior-to)
- [InvenTree information disclosure via barcode API](https://junglewise.ai/threats/cve-2026-61744-inventree-is-an-open-source-inventory-management-system-prior-to)
