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.
Published: 2026-05-13
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ShellHub's GET /api/namespaces/:tenant endpoint can return all information about a namespace, including member lists, settings, and device counts, to any caller authenticated solely with an API key. The handler skips the membership check when the X-ID header is missing, which occurs for API key authentication, allowing an attacker to access data for tenants they belong to no longer or never belong to. This can lead to the disclosure of user identities, contact information and administrative roles. Based on the description, it is inferred that the disclosed information could facilitate social engineering or privilege escalation. The flaw is a classic Insecure Direct Object Reference (CWE-639).

Affected Systems

ShellHub, the centralized SSH gateway, is vulnerable in all releases prior to 0.24.2. The issue affects any deployment where API keys are in use and the tenant check is bypassed. Vendors only release fixes in ShellHub 0.24.2 and later.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity vulnerability. The attack vector is not explicitly stated in the CVE, but can be inferred as network-based because the vulnerability involves an API call. An attacker with a valid API key can directly request another tenant's namespace and retrieve sensitive data. EPSS is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting no known public exploits. The most reliable mitigation is to upgrade the software; a temporary measure is to enforce tenant membership validation before exposing namespace data.

Generated by OpenCVE AI on May 13, 2026 at 22:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ShellHub to version 0.24.2 or newer.
  • Revoke all existing API keys and reissue them with scope limited to the tenant they belong to.
  • Add an additional server-side check to enforce tenant membership before exposing namespace data to API-key callers.

Generated by OpenCVE AI on May 13, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vwx9-7qcf-gg7f ShellHub has cross-tenant IDOR in `GET /api/namespaces/:tenant` via API Key bypasses membership check
History

Thu, 14 May 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Shellhub
Shellhub shellhub
CPEs cpe:2.3:a:shellhub:shellhub:*:*:*:*:*:*:*:*
Vendors & Products Shellhub
Shellhub shellhub

Thu, 14 May 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 14 May 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Shellhub-io
Shellhub-io shellhub
Vendors & Products Shellhub-io
Shellhub-io shellhub

Wed, 13 May 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title ShellHub: Cross-tenant IDOR in `GET /api/namespaces/:tenant` via API Key bypasses membership check
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Shellhub Shellhub
Shellhub-io Shellhub
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-14T15:54:46.896Z

Reserved: 2026-05-06T14:40:00.953Z

Link: CVE-2026-44426

cve-icon Vulnrichment

Updated: 2026-05-14T15:54:41.603Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-13T22:16:44.557

Modified: 2026-05-14T20:14:30.007

Link: CVE-2026-44426

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-14T14:33:14Z

Weaknesses