IoTSharp versions through 3.6.1 have an insecure direct object reference vulnerability that allows any authenticated user to access data belonging to other tenants. This occurs because the Customers and Devices API handlers do not properly restrict queries to the authenticated user's tenant. Attackers can self-register via an anonymous endpoint and supply other tenants' identifiers to read sensitive customer and device information.