CVE-2026-58491CWE-79cross-site-scripting

CVE-2026-58491

Critical · published September 21, 2026

CVSS v3.1
9.3
EPSS
0%
Percentile
38.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00458 · 38.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-09-21T23:17Z
References (3)
EPSS history
Timeline
  • 23 SEP 03:46Z
    EPSS moved — → 0%
    epss
  • 21 SEP 18:48Z
    Warpgate: Reflected XSS in SSO return endpoint via attacker-controlled next parameter
    cvelistv5