SecurityContext

CVE-2026-91166: Warpgate - Man-in-the-Middle

  • Cve: CVE-2026-91166
  • Name: Warpgate - Man-in-the-Middle
  • 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.
  • Impact: Attackers can intercept user traffic and authentication certificates, enabling man-in-the-middle attacks and credential compromise.
  • Remediation: Update to version 0.27.6 or later.
  • Vulnerability type: man_in_the_middle
  • Vulnerability impact: man_in_the_middle
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.7
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
  • Epss score: 0.00218
  • Epss percentile: 0.12088
  • Assignee: [email protected]
  • Published at: 2026-09-21T19:17:15Z
  • Age in days: 64
  • Modified at: 2026-09-24T23:19:21Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-91166
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-297Improper Validation of Certificate with Host Mismatch

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/warp-tech/warpgate/commit/fb66ff74f979c22054f4d348cc0d9065cc67e5d3
https://github.com/warp-tech/warpgate/releases/tag/v0.27.6
https://github.com/warp-tech/warpgate/security/advisories/GHSA-w9jj-vpw3-5r8f

Products

ProductAffectedPlatform boundSourcesUrl
warpgate_project:warpgate>= 0.25.0, < 0.27.6nocna_alias_text/v1/products/warpgate_project/warpgate

Projects

RepositoryLink kindsIndexedUrl
warp-tech/warpgatecommit, fix, releases, security_advisoryyes/v1/repositories/warp-tech/warpgate

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts