Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SSO link with malicious next param
-
DeliveryPhish Warpgate admin to follow link
-
ExploitVictim completes SSO login
-
ExecutionUnescaped payload executes in authenticated origin
-
ImpactInvoke admin APIs / hijack session data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the SSO login feature to be configured/enabled on the Warpgate HTTP interface, since the flaw lives in the /@warpgate/api/sso/providers/:name/start and /@warpgate/api/sso/return handlers. Exploitation is unauthenticated for the attacker (PR:N) but gated on victim interaction (UI:R): the target must follow an attacker-crafted link AND complete an SSO authentication flow before the stored, unescaped 'next' value executes. The most severe impact (administrator API access) additionally requires the victim to be a Warpgate administrator; a non-admin victim limits impact to user-level session data and APIs. The open-redirect variant via GET /@warpgate/api/sso/return requires only that the victim follow the crafted link. Affected: versions prior to 0.25.5. |
| Impact | The vendor rates this 9.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N) - network vector, no attacker privileges, but crucially UI:R because the victim must both follow a crafted link and complete an SSO login before the stored payload fires in their authenticated Warpgate origin. The scope change (S:C) and C:H/I:H drive the critical score, but the maximal impact (administrator API access) is explicitly conditional on the victim being a Warpgate administrator; a regular-user victim yields only user-API-level access, so the true severity is bimodal and the 9.3 is a worst-case rating. No EPSS score, no CISA KEV entry, and no public POC were provided - exploitation status is 'no public exploit identified at time of analysis.' Real-world risk is moderated by the multi-step social-engineering requirement (crafted link + full SSO completion) and by the need to target an admin for the highest impact, but it is genuinely dangerous because Warpgate is a bastion/jump host, so XSS in an admin session can pivot to broad infrastructure access. This is a real fix-worthy issue rather than a paper-critical, but it is not a mass-exploitation or drive-by threat given UI:R and the SSO-completion gate. |
| Exploit ScenarioDerived | An attacker crafts an SSO start link with a malicious 'next' parameter containing HTML/JavaScript and sends it to a Warpgate administrator (e.g., via phishing). When the admin clicks it and completes SSO login, the unescaped value is rendered into the sso_provider_list.rs response and executes in the authenticated Warpgate origin, letting the attacker invoke administrator APIs from the victim's session; the same parameter can alternatively be used purely as an open-redirect. No public exploit code is identified, though the vulnerable sink and the fix are visible in the disclosed commit diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenticated remote attacker to inject markup and JavaScript into the authenticated Warpgate origin. The attacker stores an arbitrary 'next' parameter via /@warpgate/api/sso/providers/:name/start, which the return handler later reflects without HTML escaping; the victim must follow the crafted link and complete an SSO login before the payload executes. Successful exploitation grants access to session data and user-level APIs, escalating to administrator APIs when the victim is a Warpgate administrator, and the same unvalidated value enables an open redirect via the GET /@warpgate/api/sso/return path. The vendor rates this 9.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N), reflecting network reachability with no attacker privileges but mandatory victim interaction; no public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
Vendor-released patch: Warpgate 0.25.5 (https://github.com/warp-tech/warpgate/releases/tag/v0.25.5), which follows upstream fix commit eab0548f018d95b5f96f8e913527000e05ed93a2 and is documented in advisory GHSA-3c3w-75j2-7h74. Upgrading to 0.25.5 or later is the only complete fix, because it both HTML-escapes the reflected 'next' value via the html-escape crate in warpgate-protocol-http/src/api/sso_provider_list.rs and error.rs, and adds an is_safe_redirect_target() allowlist that rejects javascript:, data:, ftp: and protocol-relative ('//host') destinations, eliminating the open-redirect vector. Where immediate upgrade is not possible, compensating controls include: disabling or removing all configured SSO providers so the /@warpgate/api/sso/providers/*/start and /@warpgate/api/sso/return routes are unreachable - the trade-off being loss of federated login for all users; and restricting network access to the /@warpgate/api/sso/ namespace at a reverse proxy or WAF so only trusted networks or existing authenticated sessions can reach it, accepting that this degrades legitimate SSO flows and cannot fully block links already delivered to victims. Because exploitation requires the victim to click an attacker-supplied link and complete SSO, tightening outbound link hygiene and user awareness for administrator accounts reduces the highest-impact (admin API) scenario; note web-application firewalls that only pattern-match '<script>' are insufficient given the payload is stored and re-rendered server-side. No vendor-published in-place workaround short of disabling SSO exists, and no evidence of active exploitation was identified at time of analysis, so upgrade cadence should follow normal risk-based prioritization informed by the 9.3 vendor severity.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-79 improper neutralization of input during web page generation, rooted in a reflected/stored value ('next') being interpolated directly into an HTML response built by warpgate-protocol-http/src/api/sso_provider_list.rs. Warpgate is a Rust bastion host exposed over SSH, HTTPS and MySQL; its HTTP protocol layer is built on the poem web framework, and the SSO start endpoint persists an attacker-supplied post-login redirect target that the POST /@warpgate/api/sso/return handler later renders into an anchor tag. The upstream fix (commit eab0548f018d95b5f96f8e913527000e05ed93a2) introduces the Rust crate html-escape (0.2.13) as a workspace dependency, using encode_double_quoted_attribute for the href attribute and encode_text for the visible link text, and also escapes error strings in warpgate-protocol-http/src/error.rs. In parallel the patch adds an is_safe_redirect_target() allowlist that accepts only relative paths not beginning with '//' and absolute URLs whose parsed scheme is http or https, explicitly rejecting javascript:, data:, ftp: and protocol-relative ('//host') targets - closing the open-redirect variant. The CVSS vector's scope change (S:C) reflects that the injected script runs in the privileged Warpgate origin rather than the attacker's, and PR:N confirms no prior account or privilege is needed to store the payload.
Know when Warpgate gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Network-reachable stored XSS in same origin (S:C) needing no attacker privileges but victim link-follow plus SSO completion (UI:R); C:H/I:H reflect worst-case admin-session compromise, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Bug class: CWE-79, Improper Neutralization of Input During Web Page Generation.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A critical, unpatched vulnerability in Warpgate's SSO endpoints (versions prior to 0.25.5) could allow an attacker to steal session data and reach administrator APIs if a privileged user is induced to complete an SSO login through a crafted link. There is no public exploit or confirmed active exploitation at time of analysis, but the administrative takeover potential makes this a priority exposure for any organization relying on affected Warpgate deployments.
No vendor-released patch identified at time of analysis; interim mitigations include disabling or restricting SSO endpoints, applying WAF/reverse-proxy rules to validate and allowlist the 'next' parameter, blocking unescaped HTML/JavaScript reflection and open redirects, monitoring for suspicious SSO requests, enforcing MFA and least privilege for administrators, and rotating sessions/credentials if compromise is suspected.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Russh is a Rust SSH client & server library. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Rated high severity (CVSS 8.8), this vulnerabili
Warpgate is an SSH, HTTPS and MySQL bastion host for Linux that doesn't need special client apps. Rated high severity (C
Warpgate is a smart SSH, HTTPS and MySQL bastion host for Linux that doesn't need special client apps. Rated high severi
Missing authorization checks on Warpgate's recording-stream WebSocket let any authenticated user with an ordinary accoun
Warpgate 0.21.0 through 0.28.x can proxy Kubernetes requests using a previous account's target authorization when a dele
SSO login flow in Warpgate bastion host prior to 0.23.3 omits validation of the OAuth state parameter, enabling a cross-
Missing authorization in Warpgate's admin API allows an authenticated limited administrator who holds any single admin p
Host-key trust confusion in Warpgate's browser SSH client (warpgate-web-ssh) lets a malicious or compromised SSH jump ho
Identity-header forwarding in the Warpgate SSH/HTTPS/MySQL bastion host prior to version 0.25.6 lets an authenticated us
IP allow-list enforcement in Warpgate 0.23.0 through 0.27.2 is bypassed for HTTP API token authentication: when a user h
Warpgate's Kubernetes protocol listener, in versions prior to 0.29.0, returns verbatim internal error text - ASN.1/DER p
EUVD-2026-84059
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB