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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-862 — CWE-862: Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| shellhub-io | shellhub | < 0.26.0-rc.1 [affected] |
References
- https://github.com/shellhub-io/shellhub/security/advisories/GHSA-ww26-9cqf-x69q (x_refsource_CONFIRM)
- https://github.com/shellhub-io/shellhub/commit/3ec88f0ccf058d8327102f89126472af79da83a4 (x_refsource_MISC)
- https://github.com/shellhub-io/shellhub/commit/f374c7302064c49427e8127ffd837f9c615ae315 (x_refsource_MISC)
- https://github.com/shellhub-io/shellhub/releases/tag/v0.26.0-rc.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 03 Dec 2026 08:05 UTC.