Description
ShellHub is an SSH gateway. Prior to version 0.26.0-rc.1, UpdateNamespaceMember in api/services/member.go checks whether the caller has authority over the requested new role but never checks whether the caller has authority over the target member's current role. A namespace administrator can demote the namespace owner to observer with one authenticated PATCH request. The demotion cannot be reversed through the API: HasAuthority(RoleOwner) returns false unconditionally for all roles, including administrator. Restoring the owner role requires direct database access. This issue has been patched in version 0.26.0-rc.1.
Published: 2026-12-02
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 15:30:00 +0000

Type Values Removed Values Added
Description ShellHub is an SSH gateway. Prior to version 0.26.0-rc.1, UpdateNamespaceMember in api/services/member.go checks whether the caller has authority over the requested new role but never checks whether the caller has authority over the target member's current role. A namespace administrator can demote the namespace owner to observer with one authenticated PATCH request. The demotion cannot be reversed through the API: HasAuthority(RoleOwner) returns false unconditionally for all roles, including administrator. Restoring the owner role requires direct database access. This issue has been patched in version 0.26.0-rc.1.
Title ShellHub has BFLA in UpdateNamespaceMember: namespace administrator can permanently demote namespace owner
Weaknesses CWE-862
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-02T16:16:31.820Z

Reserved: 2026-06-29T21:54:30.331Z

Link: CVE-2026-58267

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T16:17:54.967

Modified: 2026-12-02T16:17:54.967

Link: CVE-2026-58267

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses