Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-44426 EUVD-2026-30190GHSA-vwx9-7qcf-gg7fGO-2026-5680

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

Published May 13, 2026 · Updated May 14, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
shellhub-io shellhub < 0.24.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/shellhub-io/shellhub < 0.24.2 0.24.2 GHSA-vwx9-7qcf-gg7f

Advisories 1

References