{"id":"CVE-2026-61745","published":"2026-09-21T18:17:09.253","lastModified":"2026-09-21T19:17:07.343","description":"InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, the POST /api/machine/{pk}/restart/ endpoint in src/backend/InvenTree/machine/api.py uses IsAuthenticatedOrReadScope without requiring the ADMIN role used by other machine management operations. Any authenticated user who lacks the ADMIN role, including a warehouse user with only the STOCK role, can cause MachineRestart to invoke registry.restart_machine() for any registered machine, resetting its status and interrupting active printing, scanning, or other machine operations. This issue is fixed in version 1.4.0.","cvssScore":4.3,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","cwes":["CWE-862"],"vendors":[],"products":[],"references":[{"url":"https://github.com/inventree/InvenTree/commit/29b8ed91d22e7471a75c1197cd8f45a13ad40fdd","tags":[]},{"url":"https://github.com/inventree/InvenTree/pull/12197","tags":[]},{"url":"https://github.com/inventree/InvenTree/releases/tag/1.4.0","tags":[]},{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-c9wp-mw98-gfrj","tags":[]},{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-c9wp-mw98-gfrj","tags":[]}],"exploitRefs":[{"url":"https://github.com/inventree/InvenTree/commit/29b8ed91d22e7471a75c1197cd8f45a13ad40fdd","tags":[]},{"url":"https://github.com/inventree/InvenTree/pull/12197","tags":[]},{"url":"https://github.com/inventree/InvenTree/releases/tag/1.4.0","tags":[]},{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-c9wp-mw98-gfrj","tags":[]},{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-c9wp-mw98-gfrj","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows any authenticated user to restart any machine, even without ADMIN role, by exploiting a misconfigured API endpoint in InvenTree versions prior to 1.4.0.","exploitability":"Exploitation is relatively easy as it requires only an authenticated session with STOCK or higher role. Precondition is the target machine must be registered and accessible via the API.","blast_radius":"If exploited, this can significantly disrupt operations by resetting machine status and interrupting ongoing processes like printing or scanning.","remediation":"Upgrade to InvenTree version 1.4.0 or later to apply the necessary fix.","tags":["auth-bypass","api-exploit","inventory-management","misconfiguration"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-22T06:33:02.305Z"}}