CVE-2026-61745

InvenTree: Missing authorization on machine restart endpoint allows any authenticated user to interrupt production equipment

Published Sep 21, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in InvenTree’s machine restart API allows any user who can authenticate to the system to trigger a restart of any registered machine. The endpoint was protected only by an authentication check and did not enforce the ADMIN role required for other machine‑management actions. An attacker could therefore force a machine to reset at will, halting active printing, scanning or other operations and causing a denial of service to the production line.

Affected Systems

The vulnerability affects InvenTree versions prior to 1.4.0. Users running releases older than 1.4.0 are at risk, regardless of their role assignment, including those with only STOCK privileges in the warehouse module. The issue is resolved in version 1.4.0 and later releases.

Risk and Exploitability

The CVSS score of 4.3 indicates low severity. Because the attack requires only routine authentication and no elevated privileges, exploitation is relatively straightforward for any user with access to the system. EPSS data is unavailable and the vulnerability is not listed in CISA’s KEV catalog, so the measured likelihood of exploitation is currently unknown.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update InvenTree to version 1.4.0 or later
  • Verify that the /api/machine/{pk}/restart/ endpoint enforces the ADMIN role and does not allow other roles to reach it
  • Restrict or audit in‑house users who have any level of authentication so they cannot trigger restarts on production equipment

Generated by OpenCVE AI on September 21, 2026 at 19:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Inventree
Inventree inventree
Vendors & Products Inventree
Inventree inventree
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title InvenTree: Missing authorization on machine restart endpoint allows any authenticated user to interrupt production equipment
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 21, 2026, 6:35 PM
Reserved
Jul 10, 2026, 6:59 PM
Status
Deferred
Published
Sep 21, 2026, 6:17 PM
Modified
Sep 23, 2026, 6:30 PM