Vulnerability 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 Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/warp-tech/warpgate/commit/eab0548f018d95b5f96f8e913527000e05e
- https://github.com/warp-tech/warpgate/releases/tag/v0.25.5
- https://github.com/warp-tech/warpgate/security/advisories/GHSA-3c3w-75j2-7h74
FAQ
What is CVE-2026-58491?
CVE-2026-58491 is a vulnerability with a CVSS score of 9.3 (CRITICAL). 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 POS...
How severe is CVE-2026-58491?
CVE-2026-58491 has been rated CRITICAL with a CVSS base score of 9.3/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-58491?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.