The vulnerability is an Insecure Direct Object Reference (IDOR) affecting multiple API endpoints in the Beszel hub. The root cause was the failure to perform authorization checks in custom API route handlers. Specifically, the containerRequestHandler, getSystemdInfo, and refreshSmartData functions in internal/hub/api.go would retrieve a system object based on a system ID provided in the URL query parameters. However, these functions never verified if the authenticated user making the request was actually associated with the requested system. This allowed any authenticated user to perform actions (like refreshing SMART data) or access sensitive information (like container logs and systemd service details) for any system on the platform, provided they could guess the 15-character alphanumeric system ID. The patch, identified in commit ba10da1b9f13455f2879336445102a45eb6cb07b, rectifies this by introducing an authorization check. A new method, system.HasUser(), was created to verify if the authenticated user's ID is present in the list of users for the target system. This check is now performed immediately after fetching the system object in each of the vulnerable functions, thus closing the security hole.