Vulnerability · Published May 13, 2026 · Assigned by GitHub_M
CVE-2026-44426ShellHub: Cross-tenant IDOR in `GET /api/namespaces/:tenant` via API Key bypasses membership check
Medium 6.5
In plain English
A medium-severity authorization bypass via user-controlled key in shellhub from shellhub-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/shellhub-io/shellhub | 0.24.2 | GHSA-vwx9-7qcf-gg7f |
| Go | github.com/shellhub-io/shellhub | 0.24.2 | GO-2026-5680 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| shellhub-io | shellhub | < 0.24.2 |
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/shellhub-io/shellhub/security/advisories/GHSA-vwx9-7qcf-gg7f x_refsource_CONFIRM