GO-2026-5302: ShellHub: Cross-tenant IDOR in `GET /api/sessions/:uid` discloses SSH session data

Published May 13, 2026
·
Updated

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

1 affected component
ShellHub ShellHub<0.24.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ShellHub to a version that resolves this vulnerability.

    Fixed in 0.24.2

Event History

May 13, 2026
CVE Published
via OSV·09:07 PM
Data Sourced
via OSV·09:07 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203