CVE-2026-63329: CWE-116: Improper Encoding or Escaping of Output in warp-tech warpgate
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.25.6, copy_server_request in warpgate-protocol-http/src/proxy.rs forwards a client-supplied x-warpgate-username header before inject_own_headers appends the authenticated username. Because the request builder preserves repeated values, a proxied backend that trusts the first x-warpgate-username value can authorize an authenticated attacker as another user. The same forwarding policy also accepts the reserved x-warpgate-authentication-type header, and warpgate-common/src/http_headers.rs does not exclude either reserved identity header. This issue is fixed in version 0.25.6.
AI Analysis
Technical Summary
Warpgate versions before 0.25.6 contain a vulnerability in the HTTP proxy component where the copy_server_request function forwards a client-supplied x-warpgate-username header before appending the authenticated username. Because the request builder preserves repeated header values, a proxied backend that trusts the first x-warpgate-username header can be tricked into authorizing an attacker as another user. Additionally, the forwarding policy accepts the reserved x-warpgate-authentication-type header without exclusion. This improper handling of identity headers constitutes CWE-116 (Improper Encoding or Escaping of Output) and CWE-290 (Authentication Bypass). The issue is resolved in version 0.25.6.
Potential Impact
An authenticated attacker can exploit this vulnerability to impersonate another user by injecting a crafted x-warpgate-username header that is trusted by the backend. This can lead to unauthorized access with the privileges of the impersonated user. The CVSS 3.1 base score is 4.9 (medium), reflecting network attack vector, high attack complexity, low privileges required, no user interaction, and partial confidentiality and integrity impact without availability impact.
Mitigation Recommendations
Upgrade warpgate to version 0.25.6 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
CVE-2026-63329: CWE-116: Improper Encoding or Escaping of Output in warp-tech warpgate
Description
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.25.6, copy_server_request in warpgate-protocol-http/src/proxy.rs forwards a client-supplied x-warpgate-username header before inject_own_headers appends the authenticated username. Because the request builder preserves repeated values, a proxied backend that trusts the first x-warpgate-username value can authorize an authenticated attacker as another user. The same forwarding policy also accepts the reserved x-warpgate-authentication-type header, and warpgate-common/src/http_headers.rs does not exclude either reserved identity header. This issue is fixed in version 0.25.6.
CVSS v3.1
Score 4.9medium
Affected software
warp-tech
warpgate
pkg:github/warp-tech/warpgateRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Warpgate versions before 0.25.6 contain a vulnerability in the HTTP proxy component where the copy_server_request function forwards a client-supplied x-warpgate-username header before appending the authenticated username. Because the request builder preserves repeated header values, a proxied backend that trusts the first x-warpgate-username header can be tricked into authorizing an attacker as another user. Additionally, the forwarding policy accepts the reserved x-warpgate-authentication-type header without exclusion. This improper handling of identity headers constitutes CWE-116 (Improper Encoding or Escaping of Output) and CWE-290 (Authentication Bypass). The issue is resolved in version 0.25.6.
Potential Impact
An authenticated attacker can exploit this vulnerability to impersonate another user by injecting a crafted x-warpgate-username header that is trusted by the backend. This can lead to unauthorized access with the privileges of the impersonated user. The CVSS 3.1 base score is 4.9 (medium), reflecting network attack vector, high attack complexity, low privileges required, no user interaction, and partial confidentiality and integrity impact without availability impact.
Mitigation Recommendations
Upgrade warpgate to version 0.25.6 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-16T14:14:24.384Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab17f3e55bf5e2cf554e7c4
Added to database: 09/21/2026, 19:02:22 UTC
Last enriched: 09/21/2026, 19:17:05 UTC
Last updated: 09/22/2026, 00:42:39 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.