{"schemaVersion":3,"id":"CVE-2026-91165","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-09-21T18:53:03.854Z","modified":"2026-09-21T19:26:22.695Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.4,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.4,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.4,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00397,"percentile":0.32734,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-22T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00397,"percentile":0.32734}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00228,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00397,"percentile":0.32734}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"warp-tech","product":"warpgate","name":"warpgate","label":"warpgate","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.27.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.27.6","eol":null,"hubHref":"/vendor/warp-tech/warpgate"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/warp-tech/warpgate/security/advisories/GHSA-vvpj-p7j8-4rv4","label":"github.com/warp-tech/warpgate/security/advisories/GHSA-vvpj-p7j8-4rv4","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/warp-tech/warpgate/commit/e94425a08f501383a67316673749dcbd637c6ce3","label":"github.com/warp-tech/warpgate/commit/e94425a08f501383a67316673749dcbd637c6ce3","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/warp-tech/warpgate/releases/tag/v0.27.6","label":"github.com/warp-tech/warpgate/releases/tag/v0.27.6","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-21T18:53:03.854Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-21T19:26:22.695Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":10,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:41:53.270Z","stale":false,"partial":false}}