GO-2026-5680: ShellHub: Cross-tenant IDOR in `GET /api/namespaces/:tenant` via API Key bypasses membership check

Published May 13, 2026
·
Updated

ShellHub is a centralized SSH gateway. Prior to 0.24.2, GET /api/namespaces/:tenant returns the full namespace object — including the members list (user IDs, e-mails, roles), settings, and device counts — to any caller authenticated by an API Key, for any tenant, regardless of the API Key's own tenant scope. The handler conditionally skips the membership check when the user ID (X-ID) is absent, which is exactly the case for API Key authentication. 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:06 PM
Data Sourced
via OSV·09:06 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any caller authenticated with a ShellHub API Key can query namespace objects for tenants outside that API Key's intended tenant scope. The API Key does not need to belong to, or have membership in, the targeted tenant.

2

What information can be exposed?

The affected endpoint returns the full namespace object, including its members list with user IDs, e-mail addresses, and roles, along with namespace settings and device counts.

3

Are API Key-authenticated deployments affected by default?

The issue specifically affects requests authenticated by API Key because that authentication path has no X-ID user identifier, causing the handler to skip its membership check. Versions before 0.24.2 are affected.

4

What should be done if an immediate upgrade is not possible?

The provided information identifies 0.24.2 as the fixed version. No alternative mitigation is specified.

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