{"id":"CVE-2026-91167","state":"PUBLISHED","title":"Warpgate: Missing authorization check on `PUT /users/:id/roles/:role_id` allows any admin to bypass the `AccessRolesAssign` permission boundary","description":"Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.28.4, PUT /@warpgate/admin/api/users/:id/roles/:role_id reaches api_update_user_role in warpgate-admin/src/api/users.rs through AdminContext but does not require AdminPermission::AccessRolesAssign. A limited administrator with any permission can update expires_at on an existing UserRoleAssignment and clear revoked_at, extending an expiring grant or reinstating a revoked grant. The endpoint cannot create a role assignment that never existed because it returns not found without a matching user and role pair. This issue is fixed in version 0.28.4.","publishedAt":"2026-09-21T18:54:38.214Z","updatedAt":"2026-09-22T15:40:23.360Z","severity":{"score":6,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["warp-tech warpgate"],"affected":[{"vendor":"warp-tech","product":"warpgate","versions":[{"version":"< 0.28.4","status":"affected"}]}],"references":["https://github.com/warp-tech/warpgate/security/advisories/GHSA-fjgc-484v-j6mf","https://github.com/warp-tech/warpgate/commit/c020900a9d85989e4280bd03184976bc33e2e61d","https://github.com/warp-tech/warpgate/releases/tag/v0.28.4"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/91xxx/CVE-2026-91167.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-91167","state":"PUBLISHED","datePublished":"2026-09-21T18:54:38.214Z","dateUpdated":"2026-09-22T15:40:23.360Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-14T21:20:41.196Z"},"containers":{"cna":{"title":"Warpgate: Missing authorization check on `PUT /users/:id/roles/:role_id` allows any admin to bypass the `AccessRolesAssign` permission boundary","descriptions":[{"lang":"en","value":"Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.28.4, PUT /@warpgate/admin/api/users/:id/roles/:role_id reaches api_update_user_role in warpgate-admin/src/api/users.rs through AdminContext but does not require AdminPermission::AccessRolesAssign. A limited administrator with any permission can update expires_at on an existing UserRoleAssignment and clear revoked_at, extending an expiring grant or reinstating a revoked grant. The endpoint cannot create a role assignment that never existed because it returns not found without a matching user and role pair. This issue is fixed in version 0.28.4."}],"affected":[{"vendor":"warp-tech","product":"warpgate","versions":[{"version":"< 0.28.4","status":"affected"}]}],"references":[{"url":"https://github.com/warp-tech/warpgate/security/advisories/GHSA-fjgc-484v-j6mf","name":"https://github.com/warp-tech/warpgate/security/advisories/GHSA-fjgc-484v-j6mf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/warp-tech/warpgate/commit/c020900a9d85989e4280bd03184976bc33e2e61d","name":"https://github.com/warp-tech/warpgate/commit/c020900a9d85989e4280bd03184976bc33e2e61d","tags":["x_refsource_MISC"]},{"url":"https://github.com/warp-tech/warpgate/releases/tag/v0.28.4","name":"https://github.com/warp-tech/warpgate/releases/tag/v0.28.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-21T18:54:38.214Z"},"source":{"advisory":"GHSA-fjgc-484v-j6mf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T14:12:28.626585Z","id":"CVE-2026-91167","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T15:40:23.360Z"}}]}}}