ShellHub versions prior to 0.24.2 contain an input validation vulnerability in the device list endpoint. The endpoint accepts user-controlled identifiers in the `name` field of filter properties within a base64-encoded `filter` query parameter, as well as in the `sort_by` query parameter. These values are passed directly as BSON/SQL keys to the database layer without validation. Any authenticated user can craft payloads that cause database aggregation or query failures, resulting in HTTP 500 responses with empty bodies. No rate limiting is applied to these requests. The vulnerability has a CVSS 3.1 score of 5.4 (Medium severity) and was published on May 13, 2026, with a subsequent modification on May 18, 2026. The issue is resolved in ShellHub version 0.24.2.
ShellHub versions prior to 0.24.2 contain an authorization bypass vulnerability in the device metadata retrieval endpoint. The GET /api/devices/:uid endpoint returns complete device objects to any authenticated caller without validating namespace (tenant) ownership. An attacker with valid credentials—whether via JWT or API key—can enumerate or guess device UIDs to exfiltrate metadata from devices belonging to other tenants. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) reflects network accessibility, low attack complexity, low privileges required, and high confidentiality impact with no integrity or availability impact. The weakness maps to CWE-639: Authorization Bypass Through User-Controlled Key. No known exploitation in the wild or ransomware campaign use has been reported.