Improper Neutralization of Argument Delimiters in a Command in OpenSSH - CVE-2026-59997

 

Improper Neutralization of Argument Delimiters in a Command in OpenSSH - CVE-2026-59997

Published: July 15, 2026


Vulnerability identifier: #VU137700
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59997
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass security-relevant SFTP server options.

The vulnerability exists due to improper input handling in the internal-sftp SFTP server implementation when processing long command lines. A remote privileged user can supply a command line with security-relevant options placed after the ninth argument to bypass security-relevant SFTP server options.

Only configurations using the internal-sftp SFTP server implementation are affected.


Affected software

OpenSSH
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Micro
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Ubuntu
Basesystem Module
Desktop Applications Module
openSUSE Leap
openEuler
Anolis OS
openssh-server (Ubuntu package)
openssh-client (Ubuntu package)
pam_ssh_agent_auth
openssh (Red Hat package)
openssh-keycat
openssh-debugsource
openssh-debuginfo
openssh-clients
openssh-cavs
openssh-ldap
openssh-server
openssh-help
openssh-askpass
openssh
openssh8.4
openssh8.4-helpers
openssh8.4-common
openssh8.4-clients-debuginfo
openssh8.4-server-debuginfo
openssh8.4-debugsource
openssh8.4-clients
openssh8.4-server
openssh8.4-common-debuginfo
openssh8.4-helpers-debuginfo
openssh8.4-fips
openssh-fips
openssh-server-debuginfo
openssh-server-config-rootlogin
openssh-common
openssh-common-debuginfo
openssh-clients-debuginfo
openssh-doc
openssh-sk-dummy
openssh-helpers-debuginfo
openssh-helpers
openssh-askpass-gnome-debuginfo
openssh-askpass-gnome
openssh-askpass-gnome-debugsource
openssh-cavs-debuginfo
openssh-server-config-disallow-rootlogin

How to mitigate CVE-2026-59997

Install security update from vendor's website.

OpenSSH - update to 10.4p1
openssh-server (Ubuntu package) - addressed in versions 1:6.6p1-2ubuntu2.13+esm4, 1:7.2p2-4ubuntu2.10+esm10, 1:7.6p1-4ubuntu0.7+esm6, 1:8.2p1-4ubuntu0.13+esm3, 1:8.9p1-3ubuntu0.16, 1:9.6p1-3ubuntu13.18, 1:10.2p1-2ubuntu3.4
openssh-client (Ubuntu package) - addressed in versions 1:6.6p1-2ubuntu2.13+esm4, 1:7.2p2-4ubuntu2.10+esm10, 1:7.6p1-4ubuntu0.7+esm6, 1:8.2p1-4ubuntu0.13+esm3, 1:8.9p1-3ubuntu0.16, 1:9.6p1-3ubuntu13.18, 1:10.2p1-2ubuntu3.4
pam_ssh_agent_auth - addressed in versions 0.10.3-9.39, 0.10.4-4.46, 0.10.4-5.17, 0.10.4-5.22
openssh (Red Hat package) - update to 8.0p1-34.el8_10
openssh-keycat - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh-debugsource - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh-debuginfo - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh-clients - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh-cavs - update to 8.2p1-39
openssh-ldap - update to 8.2p1-39
openssh-server - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh-help - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh-askpass - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh - addressed in versions 8.2p1-39, 8.8p1-46, 9.6p1-17, 9.6p1-22
openssh8.4 - update to 8.4p1-8.30.1
openssh8.4-helpers - update to 8.4p1-8.30.1
openssh8.4-common - update to 8.4p1-8.30.1
openssh8.4-clients-debuginfo - update to 8.4p1-8.30.1
openssh8.4-server-debuginfo - update to 8.4p1-8.30.1
openssh8.4-debugsource - update to 8.4p1-8.30.1
openssh8.4-clients - update to 8.4p1-8.30.1
openssh8.4-server - update to 8.4p1-8.30.1
openssh8.4-common-debuginfo - update to 8.4p1-8.30.1
openssh8.4-helpers-debuginfo - update to 8.4p1-8.30.1
openssh8.4-fips - update to 8.4p1-8.30.1
openssh-fips - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-server-debuginfo - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-debuginfo - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-server-config-rootlogin - update to 9.6p1-slfo.1.1_7.1
openssh-common - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-common-debuginfo - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-debugsource - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-clients-debuginfo - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-server - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-clients - addressed in versions 9.6p1-slfo.1.1_7.1, 9.6p1-150600.6.49.1
openssh-doc - update to 9.6p1-14
openssh-sk-dummy - update to 9.6p1-14
openssh-server - update to 9.6p1-14
openssh-keycat - update to 9.6p1-14
openssh-clients - update to 9.6p1-14
openssh-askpass - update to 9.6p1-14
openssh - update to 9.6p1-14
openssh-helpers-debuginfo - update to 9.6p1-150600.6.49.1
openssh-cavs - update to 9.6p1-150600.6.49.1
openssh-helpers - update to 9.6p1-150600.6.49.1
openssh-askpass-gnome-debuginfo - update to 9.6p1-150600.6.49.1
openssh-askpass-gnome - update to 9.6p1-150600.6.49.1
openssh-askpass-gnome-debugsource - update to 9.6p1-150600.6.49.1
openssh-cavs-debuginfo - update to 9.6p1-150600.6.49.1
openssh-server-config-disallow-rootlogin - update to 9.6p1-150600.6.49.1

External References

Related Security Bulletins