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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-862"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58267.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.26.0-rc.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "3ec88f0ccf058d8327102f89126472af79da83a4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f374c7302064c49427e8127ffd837f9c615ae315"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.26.0-rc.1",
"range": [
{
"fixed": "b0d4c03ce98623948f9b903bfd3ed17a1b16f2b7"
}
],
"source": "REFERENCES_TAG"
}
]
}