GO-2026-5302: ShellHub: Cross-tenant IDOR in `GET /api/sessions/:uid` discloses SSH session data
ShellHub is a centralized SSH gateway. Prior to 0.24.2, GET /api/sessions/:uid returns the full session object for any authenticated caller, without scoping by the caller's tenant. An authenticated user can read session records (SSH username, device UID, remote IP, terminal type, authenticated flag, timestamps) belonging to any other namespace. 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 access another tenant's session data?
Any authenticated ShellHub user can retrieve the full session object for a session UID belonging to another namespace. The exposed records can include the SSH username, device UID, remote IP, terminal type, authentication status, and timestamps.
What does an attacker need to exploit this issue?
The attacker needs valid authentication to ShellHub and a target session UID. No user interaction is required, and the vulnerable endpoint does not scope the requested session to the caller's tenant.
Which versions are affected and what is the remediation?
ShellHub versions prior to 0.24.2 are affected. Upgrade to version 0.24.2, which fixes the tenant-scoping issue.