{"id":"CVE-2026-58267","sourceIdentifier":"security-advisories@github.com","published":"2026-12-02T16:17:54.967","lastModified":"2026-12-02T17:18:05.980","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"shellhub-io","product":"shellhub","versions":[{"version":"< 0.26.0-rc.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-12-02T16:16:24.926819Z","id":"CVE-2026-58267","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-862"}]}],"references":[{"url":"https://github.com/shellhub-io/shellhub/commit/3ec88f0ccf058d8327102f89126472af79da83a4","source":"security-advisories@github.com"},{"url":"https://github.com/shellhub-io/shellhub/commit/f374c7302064c49427e8127ffd837f9c615ae315","source":"security-advisories@github.com"},{"url":"https://github.com/shellhub-io/shellhub/releases/tag/v0.26.0-rc.1","source":"security-advisories@github.com"},{"url":"https://github.com/shellhub-io/shellhub/security/advisories/GHSA-ww26-9cqf-x69q","source":"security-advisories@github.com"},{"url":"https://github.com/shellhub-io/shellhub/security/advisories/GHSA-ww26-9cqf-x69q","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}