CVE-2026-58267

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.
Configurations

No configuration.

History

02 Dec 2026, 17:18

Type Values Removed Values Added
References () https://github.com/shellhub-io/shellhub/security/advisories/GHSA-ww26-9cqf-x69q - () https://github.com/shellhub-io/shellhub/security/advisories/GHSA-ww26-9cqf-x69q -

02 Dec 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-02 16:17

Updated : 2026-12-02 17:18


NVD link : CVE-2026-58267

Mitre link : CVE-2026-58267

CVE.ORG link : CVE-2026-58267


JSON object : View

Products Affected

No product.

CWE
CWE-862

Missing Authorization