CVE-2026-58491warp-tech warpgate
XSS and Open Redirect in Warpgate SSO
Critical 9.3 No auth needed
Follow: this CVE · warp-tech · warp-tech warpgate We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 21, 2026
- Updated
- Sep 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
Warpgate prior to 0.25.5 contains a reflected cross-site scripting (XSS) vulnerability in the SSO endpoint. An attacker can send a crafted "next" parameter that is inserted without HTML escaping into the response, allowing JavaScript execution in the authenticated Warpgate origin. This enables access to session data and user APIs, or administrator APIs if the victim is an administrator. An open redirect vulnerability also exists via the same parameter.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.25.5
Update Warpgate to version 0.25.5 or later to apply the security patch.
- Apply the vendor's security update for warpgate.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- warp-tech · warpgate
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.