# CVE-2026-91167: Warpgate: Missing authorization check on `PUT /users/:id/roles/:role_id` allows any admin to bypass the `AccessRolesAssign` permission boundary

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-09-21T18:54:38.214Z
- Modified: 2026-09-24T21:25:27.050Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- warp-tech warpgate: < 0.28.4

## 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>

## Sources

- CVE List: [CVE-2026-91167](https://www.cve.org/CVERecord?id=CVE-2026-91167), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-91167](https://nvd.nist.gov/vuln/detail/CVE-2026-91167), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-91167 · Whole record: https://cve.day/CVE-2026-91167.json · Rebuilt by cve.day 2026-11-25T22:59:40.370Z
