Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-58491— Warpgate: Reflected XSS in SSO return endpoint via attacker-controlled next parameter

Quick assessment

Affected
warp-tech warpgate
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.25.5, the /@warpgate/api/sso/providers/:name/start endpoint stores an attacker-controlled next parameter that the POST /@warpgate/api/sso/return handler inserts without HTML esc

CVSS 9.3 · Critical EPSS 0.33% · P26

Affected Version Matrix 1

VendorProduct Version RangeStatus
warp-tech warpgate < 0.25.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58491

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Warpgate: Reflected XSS in SSO return endpoint via attacker-controlled next parameter
Source: CVE Program / CVE List V5
Vulnerability Description
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.25.5, the /@warpgate/api/sso/providers/:name/start endpoint stores an attacker-controlled next parameter that the POST /@warpgate/api/sso/return handler inserts without HTML escaping into the response generated by warpgate-protocol-http/src/api/sso_provider_list.rs. A victim who follows a crafted link and completes SSO can cause markup and JavaScript to execute in the authenticated Warpgate origin, allowing access to session data and actions through user APIs, and through administrator APIs only when the victim is an administrator. The GET /@warpgate/api/sso/return path also uses the same unvalidated value as a redirect destination, enabling an open redirect. This issue is fixed in version 0.25.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
warp-tech warpgate < 0.25.5 -

II. Public POCs for CVE-2026-58491

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58491

登录查看更多情报信息。

Patches & Fixes for CVE-2026-58491 (1)

Other References for CVE-2026-58491 (2)

Same Patch Batch · warp-tech · 2026-09-21 · 7 CVEs total

CVE-2026-63330 7.7 HIGH Warpgate: Missing Admin Authorization on Live Recording Stream WebSocket Allows Any Authen
CVE-2026-91167 6.0 MEDIUM Warpgate: Missing authorization check on `PUT /users/:id/roles/:role_id` allows any admin
CVE-2026-91166 5.7 MEDIUM Warpgate: Web SSH stores a jump host's key against the target's address, so it validates a
CVE-2026-63329 4.9 MEDIUM Warpgate: x-warpgate-username Header Not Stripped from Client Requests Enables Identity Sp
CVE-2026-91164 4.3 MEDIUM Warpgate: API tokens bypass the user's allowed_ip_ranges restriction
CVE-2026-91165 2.4 LOW Warpgate: Markup injection in SSO form_post return page via unencoded redirect/error value

IV. Related Vulnerabilities

V. Comments for CVE-2026-58491

No comments yet


Leave a comment