CVE-2026-44426: CWE-639: Authorization Bypass Through User-Controlled Key in shellhub-io shellhub
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.
AI Analysis
Technical Summary
ShellHub is a centralized SSH gateway. Before version 0.24.2, the GET /api/namespaces/:tenant endpoint returns the complete namespace object, including members' user IDs, emails, roles, settings, and device counts, to any caller authenticated via an API Key. The authorization check is bypassed because the handler skips membership verification when the X-ID header is missing, which occurs during API Key authentication. This results in an authorization bypass (CWE-639) allowing access to tenant data beyond the API Key's intended scope. The vulnerability has a CVSS 3.1 base score of 6.5 (medium severity) with network attack vector, low attack complexity, requiring privileges, no user interaction, and impacts confidentiality but not integrity or availability. The issue is resolved in shellhub version 0.24.2.
Potential Impact
An attacker possessing an API Key with limited tenant scope can retrieve full namespace objects for any tenant, including sensitive information such as user IDs, emails, roles, settings, and device counts. This leads to unauthorized disclosure of tenant membership and configuration data, impacting confidentiality. There is no indication of impact on integrity or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade shellhub to version 0.24.2 or later, where this authorization bypass vulnerability is fixed. Since no official patch link or advisory is provided, verify the upgrade from the vendor's official release notes or repository. Until upgraded, restrict API Key usage and monitor for unauthorized access attempts. Patch status is not explicitly confirmed beyond the stated fix in version 0.24.2; check vendor sources for current remediation guidance.
CVE-2026-44426: CWE-639: Authorization Bypass Through User-Controlled Key in shellhub-io shellhub
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.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/shellhub-io/shellhubRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ShellHub is a centralized SSH gateway. Before version 0.24.2, the GET /api/namespaces/:tenant endpoint returns the complete namespace object, including members' user IDs, emails, roles, settings, and device counts, to any caller authenticated via an API Key. The authorization check is bypassed because the handler skips membership verification when the X-ID header is missing, which occurs during API Key authentication. This results in an authorization bypass (CWE-639) allowing access to tenant data beyond the API Key's intended scope. The vulnerability has a CVSS 3.1 base score of 6.5 (medium severity) with network attack vector, low attack complexity, requiring privileges, no user interaction, and impacts confidentiality but not integrity or availability. The issue is resolved in shellhub version 0.24.2.
Potential Impact
An attacker possessing an API Key with limited tenant scope can retrieve full namespace objects for any tenant, including sensitive information such as user IDs, emails, roles, settings, and device counts. This leads to unauthorized disclosure of tenant membership and configuration data, impacting confidentiality. There is no indication of impact on integrity or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade shellhub to version 0.24.2 or later, where this authorization bypass vulnerability is fixed. Since no official patch link or advisory is provided, verify the upgrade from the vendor's official release notes or repository. Until upgraded, restrict API Key usage and monitor for unauthorized access attempts. Patch status is not explicitly confirmed beyond the stated fix in version 0.24.2; check vendor sources for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-06T14:40:00.953Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a04f25dcbff5d8610127f52
Added to database: 05/13/2026, 21:51:25 UTC
Last enriched: 05/21/2026, 12:20:02 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.