Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-91165— Warpgate: Markup injection in SSO form_post return page via unencoded redirect/error values

Quick assessment

Affected
warp-tech warpgate
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.27.6, the response_mode=form_post SSO return path in warpgate-protocol-http/src/api/sso_provider_list.rs uses serde_json::to_string inside ReturnToSsoPostResponse without neutra

CVSS 2.4 · Low EPSS 0.23% · P14

Affected Version Matrix 1

VendorProduct Version RangeStatus
warp-tech warpgate < 0.27.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-91165

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Warpgate: Markup injection in SSO form_post return page via unencoded redirect/error values
Source: CVE Program / CVE List V5
Vulnerability Description
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.27.6, the response_mode=form_post SSO return path in warpgate-protocol-http/src/api/sso_provider_list.rs uses serde_json::to_string inside ReturnToSsoPostResponse without neutralizing a script-closing sequence. The vulnerable value can enter the script block through the attacker-controlled next redirect parameter stored by warpgate-protocol-http/src/api/sso_provider_detail.rs or through IdP-derived error messages that make_redirect_url concatenates without URL encoding. The IdP-derived path is reachable when the attacker controls a configured identity provider, or when the attacker controls the email or username claim on an attacker-controlled account and the configured identity provider permits the required unvalidated claim format. A victim must complete the form_post SSO flow for the injected markup to be rendered. The Warpgate Content-Security-Policy blocks injected JavaScript and event handlers, so the demonstrated impact is content spoofing, a false login form, or a meta refresh rather than script execution. This issue is fixed in version 0.27.6.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
warp-tech warpgate < 0.27.6 -

II. Public POCs for CVE-2026-91165

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-91165

登录查看更多情报信息。

Patches & Fixes for CVE-2026-91165 (1)

Other References for CVE-2026-91165 (2)

Same Patch Batch · warp-tech · 2026-09-21 · 7 CVEs total

CVE-2026-58491 9.3 CRITICAL Warpgate: Reflected XSS in SSO return endpoint via attacker-controlled next parameter
CVE-2026-63330 7.7 HIGH Warpgate: Missing Admin Authorization on Live Recording Stream WebSocket Allows Any Authen
CVE-2026-91167 6.0 MEDIUM Warpgate: Missing authorization check on `PUT /users/:id/roles/:role_id` allows any admin
CVE-2026-91166 5.7 MEDIUM Warpgate: Web SSH stores a jump host's key against the target's address, so it validates a
CVE-2026-63329 4.9 MEDIUM Warpgate: x-warpgate-username Header Not Stripped from Client Requests Enables Identity Sp
CVE-2026-91164 4.3 MEDIUM Warpgate: API tokens bypass the user's allowed_ip_ranges restriction

IV. Related Vulnerabilities

V. Comments for CVE-2026-91165

No comments yet


Leave a comment