Skip to content
Fencer Vulns
medium 4.2

CVE-2026-59997 json

internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line arguments,...

published 2026-07-08 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42139 , GHSA-56r6-6mmg-25j5 , JLSEC-2026-1321

cvss
4.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 6%
public exploits
0
none known

Summary

internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line arguments, which can be important if a later command-line argument would have helped to ensure the intended security properties of an SFTP connection.

Patch / fix

  • julia OpenSSH_jll 10.4.1+0
  • OpenBSD OpenSSH 10.4
  • openssh Debian 14 1:10.4p1-1

debian advisories DEBIAN-CVE-2026-59997

  • openssh Ubuntu 22.04 LTS 1:8.9p1-3ubuntu0.16
  • openssh Ubuntu 24.04 LTS 1:9.6p1-3ubuntu13.18
  • openssh Ubuntu 26.04 LTS 1:10.2p1-2ubuntu3.4
  • openssh Ubuntu Pro 14.04 LTS 1:6.6p1-2ubuntu2.13+esm4
  • openssh Ubuntu Pro 16.04 LTS 1:7.2p2-4ubuntu2.10+esm10
  • openssh Ubuntu Pro 18.04 LTS 1:7.6p1-4ubuntu0.7+esm6
  • openssh Ubuntu Pro 20.04 LTS 1:8.2p1-4ubuntu0.13+esm3
  • openssh Ubuntu Pro FIPS-updates 22.04 LTS 1:8.9p1-3ubuntu0.16+Fips3

ubuntu advisories UBUNTU-CVE-2026-59997

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh RHEL 10.2 9.9p1-29.el10_2
  • openssh-keycat RHEL 10.2 9.9p1-29.el10_2
  • openssh-server RHEL 10.2 9.9p1-29.el10_2
  • openssh-askpass RHEL 10.2 9.9p1-29.el10_2
  • openssh-clients RHEL 10.2 9.9p1-29.el10_2
  • openssh-keysign RHEL 10.2 9.9p1-29.el10_2
  • openssh hummingbird 1 10.4p1-1.hum1
  • openssh-keycat hummingbird 1 10.4p1-1.hum1

red hat advisories RHSA-2026:85847RHSA-2026:37382

  • openssh Linux Micro 6.0 9.6p1-159998.2.1
  • openssh Linux Micro 6.1 9.6p1-slfo.1.1_7.1
  • openssh SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 9.6p1-150600.6.49.1
  • openssh-askpass-gnome SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Desktop Applications 15 SP7 9.6p1-150600.6.49.1
  • openssh Linux Micro 6.2 10.0p2-160000.7.1
  • openssh8.4 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 8.4p1-8.30.1

suse advisories SUSE-SU-2026:24478-1SUSE-SU-2026:4907-1SUSE-SU-2026:24382-1SUSE-SU-2026:3605-1SUSE-SU-2026:22978-1

  • openssh openSUSE Leap 16.0 10.0p2-160000.7.1
  • openssh-askpass-gnome openSUSE Leap 16.0 10.0p2-160000.7.1

opensuse advisories openSUSE-SU-2026:21477-1

  • openssh AlmaLinux 8 8.0p1-34.el8_10
  • openssh-cavs AlmaLinux 8 8.0p1-34.el8_10
  • openssh-ldap AlmaLinux 8 8.0p1-34.el8_10
  • openssh-keycat AlmaLinux 8 8.0p1-34.el8_10
  • openssh-server AlmaLinux 8 8.0p1-34.el8_10
  • openssh-askpass AlmaLinux 8 8.0p1-34.el8_10
  • openssh-clients AlmaLinux 8 8.0p1-34.el8_10
  • pam_ssh_agent_auth AlmaLinux 8 0.10.3-8.34.el8_10

almalinux advisories ALSA-2026:88211ALSA-2026:85847ALSA-2026:85958

  • openssh Rocky Linux 8 8.0p1-34.el8_10
  • openssh Rocky Linux 9 9.9p1-13.el9_8.rocky.0.1
  • openssh Rocky Linux 10 9.9p1-29.el10_2.rocky.0.1

rocky linux advisories RLSA-2026:88211RLSA-2026:85958RLSA-2026:85847

  • openssh Alpine 3.24 10.3_p1-r1

alpine advisories ALPINE-CVE-2026-59997

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh Azure Linux 3.0 9.8p1-9

azure linux advisories AZL-92036

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-59997 updated cvss 5.4

openssh: OpenSSH: SFTP security bypass due to command-line argument parsing flaw

  • Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_auth Red Hat Enterprise Linux 7 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +3 more Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9
    under investigation
  • Red Hat Discovery 2 discovery/discovery-server-rhel9 1793734080
    fixed: vendor fix RHSA-2026:94802
  • Red Hat Enterprise Linux AppStream (v. 8) openssh-askpass 8.0p1-34.el8_10
    fixed: vendor fix RHSA-2026:88211
  • Red Hat Enterprise Linux AppStream (v. 9) openssh-askpass 9.9p1-13.el9_8, pam_ssh_agent_auth 0.10.4-8.13.el9_8
    fixed: vendor fix RHSA-2026:85958
  • Red Hat Enterprise Linux AppStream (v. 10) openssh-askpass 9.9p1-29.el10_2, openssh-keysign 9.9p1-29.el10_2
    fixed: vendor fix RHSA-2026:85847
  • Red Hat Enterprise Linux BaseOS (v. 8) openssh 8.0p1-34.el8_10, openssh-cavs 8.0p1-34.el8_10, openssh-ldap 8.0p1-34.el8_10, openssh-keycat 8.0p1-34.el8_10, openssh-server 8.0p1-34.el8_10, openssh-clients 8.0p1-34.el8_10, +1 more
    fixed: vendor fix RHSA-2026:88211
  • Red Hat Enterprise Linux BaseOS (v. 9) openssh 9.9p1-13.el9_8, openssh-keycat 9.9p1-13.el9_8, openssh-server 9.9p1-13.el9_8, openssh-clients 9.9p1-13.el9_8
    fixed: vendor fix RHSA-2026:85958
show 4 more
  • Red Hat Enterprise Linux BaseOS (v. 10) openssh 9.9p1-29.el10_2, openssh-keycat 9.9p1-29.el10_2, openssh-server 9.9p1-29.el10_2, openssh-clients 9.9p1-29.el10_2
    fixed: vendor fix RHSA-2026:85847
  • Red Hat Hardened Images openssh 10.4p1-1.hum1, openssh-keycat 10.4p1-1.hum1, openssh-server 10.4p1-1.hum1, openssh-askpass 10.4p1-1.hum1, openssh-clients 10.4p1-1.hum1, openssh-keysign 10.4p1-1.hum1, +1 more
    fixed: vendor fix RHSA-2026:37382
  • Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 1793005812, rhui5/installer-rhel9 1793004989
    fixed: vendor fix RHSA-2026:89907
  • Red Hat Discovery 2 discovery/discovery-ui-rhel9 1793733716 Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1793005764, rhui5/haproxy-rhel9 1793004999, rhui5/cds-kubernetes-rhel9 1793005771
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
julia OpenSSH_jll
<10.4.1+0
10.4.1+0

Affected products

  • OpenBSD OpenSSH

Classification

Weakness
  • CWE-1284 Improper Validation of Specified Quantity in Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.