Warpgate SSO endpoint open redirect allows session token theft
Warpgate before 0.25.5 accepts an attacker-controlled redirect parameter in the SSO start endpoint, enabling credential theft through crafted authentication flows.
- Vendor
- Warp Tech
- Product
- Warpgate
- CVSS
- 9.3
- EPSS (exploit probability)
- 0.5%
- Status
- patched
- Published
Is CVE-2026-58491 being exploited?
Not on any exploited-vulnerability catalog we track. CVE-2026-58491 was not on the CISA, ENISA or CIRCL exploited catalogs as of our 2026-11-23 snapshot. That can change quickly; check the write-up below for the latest reporting.
FIRST's EPSS model puts the probability of exploitation activity in the next 30 days at 0.5% (scored October 14, 2026).
- CISA KEV[ — ]
- ENISA EUVD (exploited)[ — ]
- CIRCL KEV[ — ]
Catalog snapshot 2026-11-23. Full cross-catalog view: /kev-comparison
Warpgate is an open source SSH, HTTPS, and MySQL bastion host for Linux. In versions before 0.25.5, the /@warpgate/api/sso/providers/:name/start endpoint accepts a caller-controlled next parameter and stores it for use as a post-authentication redirect target. Because the server does not validate that next points to a trusted destination, an attacker can craft an SSO initiation link that redirects the user’s browser to an attacker-controlled host after authentication completes, carrying the session token in the redirect.
Affected versions: All Warpgate releases before 0.25.5.
Fixed in: Warpgate 0.25.5. The fix validates the next parameter against a configured allowlist of trusted redirect destinations before storing it.
CVSS score: 9.3 (Critical). The score reflects the ability to steal valid session tokens without requiring any credentials or prior access. An attacker only needs to convince a user to follow a crafted SSO link.
Impact: A successful exploit gives the attacker a valid authenticated session to the Warpgate admin interface or to resources the bastion host proxies. Given that Warpgate is infrastructure-level access control, a compromised session can mean lateral access to SSH targets, databases, or internal HTTPS services behind the bastion.
Mitigation: Update to Warpgate 0.25.5 or later. If an immediate update is not possible, restrict external access to the /@warpgate/api/sso/ endpoint path at the network perimeter so that only trusted clients can initiate SSO flows.
Source: Warpgate fix commit on GitHub.