Skip to main content

CVE-2026-91167: CWE-862: Missing Authorization in warp-tech warpgate

0
Medium
VulnerabilityCVE-2026-91167cvecve-2026-91167cwe-862
Published: 09/21/2026 (09/21/2026, 18:54:38 UTC)
Source: CVE Database V5
Vendor/Project: warp-tech
Product: warpgate

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.

CVSS v4.0

Score 6.0medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

warp-tech

warpgate

Affected versions
<0.28.4
GitHub Actionsmore threats →ai
warp-tech/warpgate
pkg:github/warp-tech/warpgate
Affected versions
<0.28.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/21/2026, 19:17:09 UTC

Technical Analysis

Warpgate is an open source bastion host for SSH, HTTPS, and MySQL on Linux. In versions before 0.28.4, the PUT endpoint /@warpgate/admin/api/users/:id/roles/:role_id calls api_update_user_role without enforcing the AdminPermission::AccessRolesAssign authorization. Consequently, any limited administrator with any permission can modify the expires_at and revoked_at fields of an existing UserRoleAssignment, effectively extending or reinstating role grants. The endpoint returns 'not found' if the user-role pair does not exist, preventing creation of new role assignments. The vulnerability is addressed in version 0.28.4.

Potential Impact

An attacker with limited administrator permissions can extend the validity or reinstate revoked user role assignments, potentially prolonging or restoring privileges beyond intended limits. This could lead to unauthorized access persistence or privilege escalation within the warpgate environment. However, creation of new role assignments is not possible via this flaw.

Mitigation Recommendations

Upgrade warpgate to version 0.28.4 or later, where this authorization check is properly enforced. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-14T21:20:41.196Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab17f3e55bf5e2cf554e7c2

Added to database: 09/21/2026, 19:02:22 UTC

Last enriched: 09/21/2026, 19:17:09 UTC

Last updated: 09/21/2026, 22:47:03 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses