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

Published Sep 21, 2026
·
Updated

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/:roleid reaches apiupdateuserrole in warpgate-admin/src/api/users.rs through AdminContext but does not require AdminPermission::AccessRolesAssign. A limited administrator with any permission can update expiresat on an existing UserRoleAssignment and clear revokedat, 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 Software

1 affected component
warpgate<0.28.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade warpgate to a version that resolves this vulnerability.

    Fixed in 0.28.4
  2. Compensating control

    If upgrading to 0.28.4 is not immediately possible, restrict access to PUT /@warpgate/admin/api/users/:id/roles/:role_id so only admins who have AdminPermission::AccessRolesAssign can reach it.

Event History

Sep 21, 2026
CVE Published
via MITRE·06:54 PM
Data Sourced
via MITRE·06:54 PM
DescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which administrators can exploit this issue?

Any limited administrator that has at least one administrative permission can exploit the affected endpoint; the administrator does not need the AccessRolesAssign permission.

2

What access is required to exploit it?

An attacker needs authenticated administrative access capable of calling PUT /@warpgate/admin/api/users/:id/roles/:role_id. The issue affects existing user-role assignments only.

3

Can this be used to grant a completely new role to a user?

No. The endpoint cannot create an assignment where the specified user and role pair did not already exist, and returns not found when no matching assignment exists.

4

What can an attacker do to an existing assignment?

They can modify expires_at to extend an expiring grant and clear revoked_at to reinstate a revoked grant.

5

What version fixes the issue?

Upgrade Warpgate to version 0.28.4, which includes the authorization check for AccessRolesAssign.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203