Warpgate: Reflected XSS in SSO return endpoint via attacker-controlled next parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA warpgate (warp-tech) Fixed in 0.25.5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58491
References
More warp-tech vulnerabilities
- TI-2023-18898 User login confusion with SSO in warpgate CVSS 3.1HIGH 8.8
- TI-2026-30510 Russh: Pre-auth DoS via unbounded allocation in keyboard-interactive auth CVSS 3.1HIGH 7.5
- TI-2024-29059 Russh has an OOM Denial of Service due to allocation of untrusted amount CVSS 3.1HIGH 7.5
- TI-2026-45163 Improper authorization in warp-tech warpgate CVSS 3.1HIGH 7.7
- TI-2026-32313 Warpgate: SSO CSRF -- State Token Not Validated on Return CVSS 3.1MEDIUM 6.5
- TI-2025-34558 Russh is missing an overflow check during channel windows adjust CVSS 3.1MEDIUM 6.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences