Vulnerability

CVE-2026-58491

criticalCVSS 3.1 9.3Published 21 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /warp-tech/warpgate/commit/eab0548f018d95b5f96f8e913527000e…
  • github.com /warp-tech/warpgate/releases/tag/v0.25.5
  • github.com /warp-tech/warpgate/security/advisories/GHSA-3c3w-75j2-7h74

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning