GO-2026-5113: ShellHub: Crash-DoS via field injection in filter and sort-by parameters
ShellHub is a centralized SSH gateway. Prior to 0.24.2, the device list endpoint accepts user-controlled identifiers in the the name field of each filter property in the base64-encoded filter query parameter and the sortby query parameter, which are then passed directly as BSON/SQL keys in the database layer without validation. Any authenticated user can craft payloads that cause the aggregation / query to fail and the API to return HTTP 500 with no body, with no rate limiting applied. This vulnerability is fixed in 0.24.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ShellHubto a version that resolves this vulnerability.Fixed in 0.24.2
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated ShellHub user can trigger the failure. Exploitation is network-accessible and does not require user interaction.
Which deployments are affected?
ShellHub versions before 0.24.2 are affected where authenticated users can access the device list endpoint. The issue involves the base64-encoded filter parameter and the sort_by parameter.
What is the impact of exploitation?
Crafted field identifiers can cause the database aggregation or query to fail, making the API return an HTTP 500 response with no body. Because no rate limiting is applied, an authenticated user can repeatedly trigger these failures.
What should be done if patching is not immediately possible?
No workaround is provided in the available data. Limit access to authenticated ShellHub accounts and monitor device-list API requests for malformed or unexpected filter and sort_by values until upgrading to 0.24.2.