Skip to main content

Warpgate EUVDEUVD-2026-84059

| CVE-2026-58491 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-09-21 GitHub_M
9.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft SSO link with malicious next param
  2. Delivery
    Phish Warpgate admin to follow link
  3. Exploit
    Victim completes SSO login
  4. Execution
    Unescaped payload executes in authenticated origin
  5. Impact
    Invoke 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

warpgate < 0.25.5

Affected Packages

euvd warpgate fix: 0.25.5

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

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 9.3 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Sep 21, 2026 - 20:02 EUVD
CVE Published
Sep 21, 2026 - 18:48 cve.org
CRITICAL 9.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche self-hosted open-source SSH/HTTPS/MySQL bastion, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-43410 HIGH POC
7.5 Aug 21

Russh is a Rust SSH client & server library. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,

CVE-2023-48712 HIGH
8.8 Nov 24

Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Rated high severity (CVSS 8.8), this vulnerabili

CVE-2023-37268 HIGH
8.8 Jul 14

Warpgate is an SSH, HTTPS and MySQL bastion host for Linux that doesn't need special client apps. Rated high severity (C

CVE-2023-43660 HIGH
8.1 Sep 27

Warpgate is a smart SSH, HTTPS and MySQL bastion host for Linux that doesn't need special client apps. Rated high severi

CVE-2026-63330 HIGH
7.7 Sep 21

Missing authorization checks on Warpgate's recording-stream WebSocket let any authenticated user with an ordinary accoun

CVE-2026-91168 MEDIUM
6.8 Nov 04

Warpgate 0.21.0 through 0.28.x can proxy Kubernetes requests using a previous account's target authorization when a dele

CVE-2026-44347 MEDIUM
6.5 May 12

SSO login flow in Warpgate bastion host prior to 0.23.3 omits validation of the OAuth state parameter, enabling a cross-

CVE-2026-91167 MEDIUM
6.0 Sep 21

Missing authorization in Warpgate's admin API allows an authenticated limited administrator who holds any single admin p

CVE-2026-91166 MEDIUM
5.7 Sep 21

Host-key trust confusion in Warpgate's browser SSH client (warpgate-web-ssh) lets a malicious or compromised SSH jump ho

CVE-2026-63329 MEDIUM
4.9 Sep 21

Identity-header forwarding in the Warpgate SSH/HTTPS/MySQL bastion host prior to version 0.25.6 lets an authenticated us

CVE-2026-91164 MEDIUM
4.3 Sep 21

IP allow-list enforcement in Warpgate 0.23.0 through 0.27.2 is bypassed for HTTP API token authentication: when a user h

CVE-2026-91163 LOW
3.7 Nov 04

Warpgate's Kubernetes protocol listener, in versions prior to 0.29.0, returns verbatim internal error text - ASN.1/DER p

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy