CVE-2026-91166

Warpgate: Web SSH stores a jump host's key against the target's address, so it validates as the target

Published Sep 21, 2026 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. From 0.25.0 until 0.27.6, the browser SSH path in warpgate-web-ssh/src/manager.rs handles RCEvent::HostKeyUnknown without the presenting hop identity and instead passes ssh_options.host and ssh_options.port for the final target to KnownHosts::trust. In Prompt and AutoAccept modes, a jump host key can therefore be stored for the target address. A machine later presenting the jump host key at the target address can be accepted as the target, allowing interception of user traffic and a newly issued certificate when certificate authentication is used. The native SSH path is unaffected because it tracks each hop separately. This issue is fixed in version 0.27.6.

Analysis

AI-generated

Technical impact

Warpgate’s browser SSH implementation incorrectly handles unknown host keys. When a jump host presents an unknown key, the code trusts the key by associating it with the target address rather than the hop identity. As a result, the jump host’s key is stored as if it were the target’s key. An attacker can exploit this by presenting a jump host that supplies a key identical to a legitimate target’s key, causing the system to accept the attacker as the target and enable traffic interception or issuance of new certificates under certificate authentication.

Affected Systems

Affected versions are Warpgate v0.25.0 through v0.27.5 inclusive. The fix was deployed in v0.27.6. Only the browser SSH path is impacted; the native SSH path keeps separate hop tracking. The product is the Warpgate SSH, HTTPS, and MySQL bastion host from warp‑tech.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.7 and currently has no EPSS value or KEV listing, suggesting that it is not known to be exploited in the wild. Based on the description, it is inferred that an attacker would need to supply a jump host that uses a key matching the target's key, which can be achieved if the attacker can control or spoof a jump host within the user’s network or if there is an internal compromise. The likely attack vector is the ability to act as a jump host or modify a jump host’s key presented to the web SSH client. Due to the lack of publicly available exploits and the moderate severity, the risk is considered moderate, but organizations that rely on Web SSH should patch promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Warpgate to version 0.27.6 or newer, which implements proper host key validation for browser SSH.
  • If upgrading is not immediately possible, disable the Web SSH feature or enforce Prompt mode for host key changes to prevent automatic trust of jump host keys.
  • Limit jump host usage to trusted hosts and manually verify or enforce strict host key verification, preventing acceptance of unverified keys.

Generated by OpenCVE AI on September 21, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Warp-tech
Warp-tech warpgate
Vendors & Products Warp-tech
Warp-tech warpgate
Type Values Removed Values Added
Description Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. From 0.25.0 until 0.27.6, the browser SSH path in warpgate-web-ssh/src/manager.rs handles RCEvent::HostKeyUnknown without the presenting hop identity and instead passes ssh_options.host and ssh_options.port for the final target to KnownHosts::trust. In Prompt and AutoAccept modes, a jump host key can therefore be stored for the target address. A machine later presenting the jump host key at the target address can be accepted as the target, allowing interception of user traffic and a newly issued certificate when certificate authentication is used. The native SSH path is unaffected because it tracks each hop separately. This issue is fixed in version 0.27.6.
Title Warpgate: Web SSH stores a jump host's key against the target's address, so it validates as the target
Weaknesses CWE-297
CWE-923
References
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch

  • CWE-923

    Improper Restriction of Communication Channel to Intended Endpoints

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 10:32 PM
Reserved
Sep 14, 2026, 9:20 PM
Status
Deferred
Published
Sep 21, 2026, 7:17 PM
Modified
Sep 24, 2026, 11:19 PM