Improper privilege management in OpenSSH - CVE-2026-35385
Published: April 29, 2026
Vulnerability details
The vulnerability allows a local privileged user to create files with unintended setuid or setgid bits.
The vulnerability exists due to improper privilege management in scp(1) when downloading files in legacy (-O) mode as root without the -p flag set. A local privileged user can download a file with crafted mode bits to create files with unintended setuid or setgid bits.
The issue occurs only in legacy mode and only when files are downloaded as root without preserving modes.
Affected software
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
IBM i
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Basesystem Module
Desktop Applications Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
pam_ssh_agent_auth
openssh (Red Hat package)
openssh-helpers
openssh-fips
openssh
openssh-askpass-gnome
openssh-cavs
openssh-askpass-gnome-debuginfo
openssh-debugsource
openssh-debuginfo
openssh (Ubuntu package)
openssh-helpers-debuginfo
openssh-clients
openssh-keycat
openssh-ldap
openssh-server
openssh-askpass
openssh8.4-common-debuginfo
openssh8.4-clients
openssh8.4
openssh8.4-server
openssh8.4-helpers-debuginfo
openssh8.4-common
openssh8.4-clients-debuginfo
openssh8.4-debugsource
openssh8.4-fips
openssh8.4-helpers
openssh8.4-server-debuginfo
openssh-common
openssh-askpass-gnome-debugsource
openssh-cavs-debuginfo
openssh-clients-debuginfo
openssh-server-debuginfo
openssh-common-debuginfo
openssh-doc
openssh-sk-dummy
openssh-help
openssh-server-config-disallow-rootlogin
Red Hat OpenShift Container Platform
How to mitigate CVE-2026-35385
pam_ssh_agent_auth - update to 0.10.3-7.29.0.1
pam_ssh_agent_auth - update to 0.10.4-5.13
Red Hat OpenShift Container Platform - addressed in versions 4.12.92, 4.15.66
openssh (Red Hat package) - addressed in versions 5.3p1-125.el6_10.1, 7.4p1-23.el7_9.2, 8.0p1-7.el8_4.2, 8.0p1-15.el8_6.5, 8.0p1-20.el8_8.4, 8.0p1-29.el8_10, 8.7p1-30.el9_2.11, 8.7p1-45.el9_6.3, 8.7p1-49.el9_7, 9.9p1-7.el10_0.3, 9.9p1-14.el10_1
openssh-helpers - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-fips - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-askpass-gnome - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-cavs - addressed in versions 6.6p1-36.31.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-askpass-gnome-debuginfo - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-debugsource - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-debuginfo - addressed in versions 6.6p1-36.31.1, 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh (Ubuntu package) - addressed in versions 1:7.2p2-4ubuntu2.10+esm8, 1:8.9p1-3ubuntu0.15, 1:9.6p1-3ubuntu13.16, 1:10.0p1-5ubuntu5.4, 1:10.2p1-2ubuntu3.2
openssh-helpers-debuginfo - addressed in versions 7.2p2-81.37.1, 7.2p2-81.40.1, 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-clients - addressed in versions 8.0p1-29.0.1, 9.6p1-9
openssh-cavs - update to 8.0p1-29.0.1
openssh - addressed in versions 8.0p1-29.0.1, 9.6p1-9
openssh-keycat - addressed in versions 8.0p1-29.0.1, 9.6p1-9
openssh-ldap - update to 8.0p1-29.0.1
openssh-server - addressed in versions 8.0p1-29.0.1, 9.6p1-9
openssh-askpass - addressed in versions 8.0p1-29.0.1, 9.6p1-9
openssh8.4-common-debuginfo - update to 8.4p1-8.24.1
openssh8.4-clients - update to 8.4p1-8.24.1
openssh8.4 - update to 8.4p1-8.24.1
openssh8.4-server - update to 8.4p1-8.24.1
openssh8.4-helpers-debuginfo - update to 8.4p1-8.24.1
openssh8.4-common - update to 8.4p1-8.24.1
openssh8.4-clients-debuginfo - update to 8.4p1-8.24.1
openssh8.4-debugsource - update to 8.4p1-8.24.1
openssh8.4-fips - update to 8.4p1-8.24.1
openssh8.4-helpers - update to 8.4p1-8.24.1
openssh8.4-server-debuginfo - update to 8.4p1-8.24.1
openssh-common - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-askpass-gnome-debugsource - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-cavs-debuginfo - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-clients-debuginfo - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-server-debuginfo - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-common-debuginfo - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-clients - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-server - addressed in versions 8.4p1-150300.3.60.1, 8.4p1-150300.3.65.1, 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh-doc - update to 9.6p1-9
openssh-sk-dummy - update to 9.6p1-9
openssh-help - update to 9.6p1-13
openssh-server - update to 9.6p1-13
openssh-keycat - update to 9.6p1-13
openssh-askpass - update to 9.6p1-13
openssh-clients - update to 9.6p1-13
openssh-debuginfo - update to 9.6p1-13
openssh-debugsource - update to 9.6p1-13
openssh - update to 9.6p1-13
openssh-server-config-disallow-rootlogin - addressed in versions 9.6p1-150600.6.37.1, 9.6p1-150600.6.42.1
openssh - addressed in versions 9.9p1-14.fc42, 10.0p1-9.fc43, 10.2p1-8.fc44
External References
Related Security Bulletins
- Multiple vulnerabilities in OpenSSH
- Ubuntu update for openssh
- Fedora 43 update for openssh
- Fedora 44 update for openssh
- Fedora 42 update for openssh
- openEuler update for openssh
- Red Hat Enterprise Linux 10 update for openssh
- Red Hat Enterprise Linux 10 update for openssh
- Red Hat Enterprise Linux 9 update for openssh
- Red Hat Enterprise Linux 8 update for openssh
- Anolis OS update for openssh
- Red Hat Enterprise Linux 9 update for openssh
- Anolis OS update for openssh
- SUSE update for openssh
- SUSE update for openssh
- SUSE update for openssh
- Red Hat Enterprise Linux 8 update for openssh
- Red Hat Enterprise Linux 8 update for openssh
- Red Hat Enterprise Linux 8 update for openssh
- Red Hat Enterprise Linux 9 update for openssh
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for openssh
- Multiple vulnerabilities in IBM i
- Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION update for openssh
- SUSE update for openssh
- SUSE update for openssh
- SUSE update for openssh
- SUSE update for openssh8.4
- SUSE update for openssh, openssh-askpass-gnome
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.12
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.15
- Ubuntu update for openssh