CVE-2026-58267
MEDIUM 6.5CVSS 3.1ShellHub has BFLA in UpdateNamespaceMember: namespace administrator can permanently demote namespace owner
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
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-862
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | shellhub-io | shellhub | = < 0.26.0-rc.1 |
References
- 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
- https://github.com/shellhub-io/shellhub/security/advisories/GHSA-ww26-9cqf-x69q · x_refsource_CONFIRM
History
- 2 Dec 2026 17:35 UTC · NVD: 1 reference added
- 2 Dec 2026 16:48 UTC · CVE List: updated (other details)
- 2 Dec 2026 16:24 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 15:37 UTC · CVE List: first stored (published 2 Dec 2026)