---
id: CVE-2026-111638
title: >-
  sshportal through 1.19.5 Missing Authorization in 'key show' Command Exposes
  Private Keys
summary: >-
  sshportal through 1.19.5 contains a missing authorization vulnerability in the
  management shell 'key show' command that allows authenticated non-admin users
  to obtain decrypted backend private SSH keys. Attackers can request
  predictable …
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-862
vendor: moul
product: sshportal
affected:
  - sshportal <= 1.19.5
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T17:39:09.600Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111638'
references:
  - url: 'https://hackmd.io/@hieuPenguinnn/sshportal-key-show-privkey-disclosure'
  - url: >-
      https://github.com/moul/sshportal/blob/v1.19.5/pkg/bastion/shell.go#L1513-L1584
  - url: >-
      https://www.vulncheck.com/advisories/sshportal-through-1.19.5-missing-authorization-in-key-show-command-exposes-private-keys
    label: >-
      VulnCheck Advisory: sshportal through 1.19.5 Missing Authorization in 'key
      show' Command Exposes Private Keys
tags:
  - cve.org
ingestedAt: '2026-10-16T18:43:08.682Z'
---

## Overview

sshportal through 1.19.5 contains a missing authorization vulnerability in the management shell 'key show' command that allows authenticated non-admin users to obtain decrypted backend private SSH keys. Attackers can request predictable key names like 'default' or 'host' to retrieve private keys and connect directly to backend hosts, bypassing ACLs and session recording.

## Affected

- `sshportal <= 1.19.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
