CVE-2026-58491: Warpgate: Reflected XSS in SSO return endpoint via attacker-controlled next parameter
Vulnerability summary
CVE-2026-58491 is a critical (CVSS 9.3) vulnerability in warp-tech warpgate. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 27.9% of scored vulnerabilities.
Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 21-09-2026PublishedVulnerability first disclosed.
- 22-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.3CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
Decrease -0.13 pp
From 0.46% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Warp-tech1 product
- warpgate< 0.25.5
1 vendor · 1 product
References
3 links- github.com/warp-tech/warpgate/security/advisories/GHSA-3c3w-75j2-7h74X Refsource CONFIRM
- github.com/warp-tech/warpgate/releases/tag/v0.25.5X Refsource MISC