Medium severity6.5NVD Advisory· Published Dec 2, 2026
CVE-2026-58267
CVE-2026-58267
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1- Range: <0.26.0-rc.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.