---
id: CVE-2026-91167
title: 'Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux'
summary: >-
  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 …
severity: medium
cvss: 6
cvssVector: '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'
cwe:
  - CWE-862
vendor: warp-tech
product: warpgate
affected:
  - warpgate < 0.28.4
published: '2026-09-21'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:25:27.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-91167'
references:
  - url: >-
      https://github.com/warp-tech/warpgate/commit/c020900a9d85989e4280bd03184976bc33e2e61d
    label: security-advisories@github.com
  - url: 'https://github.com/warp-tech/warpgate/releases/tag/v0.28.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/warp-tech/warpgate/security/advisories/GHSA-fjgc-484v-j6mf
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
epss: 0.00414
epssPercentile: 0.32969
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-22T14:12:28.626585Z'
cvssSource: cna
ingestedAt: '2026-09-21T19:51:58.864Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
