cve.bz

CVE-2026-35385 openbsd openssh: Improper Preservation of Permissions

8.1 highEPSS 0.6%

High (8.1) in openbsd openssh. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-281 Improper Preservation of Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-35385 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-35385?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-35385?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-35385 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenBSD OpenSSHbefore 10.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openssh1:8.4p1-5+deb11u7DLA-4584-1
Debian12openssh1:9.2p1-2+deb12u10DEBIAN-CVE-2026-35385
Debian13openssh1:10.0p1-7+deb13u3DEBIAN-CVE-2026-35385
Debian14openssh1:10.3p1-1DEBIAN-CVE-2026-35385
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreopenssh-ssh1no fix listedUBUNTU-CVE-2026-35385
Ubuntu22.04:LTSopenssh1:8.9p1-3ubuntu0.15UBUNTU-CVE-2026-35385
Ubuntu24.04:LTSopenssh1:9.6p1-3ubuntu13.16UBUNTU-CVE-2026-35385
Ubuntu25.10openssh1:10.0p1-5ubuntu5.4UBUNTU-CVE-2026-35385
Ubuntu26.04:LTSopenssh1:10.2p1-2ubuntu3.2UBUNTU-CVE-2026-35385
UbuntuPro:14.04:LTSopenssh1:6.6p1-2ubuntu2.13+esm3UBUNTU-CVE-2026-35385 USN-8514-2
UbuntuPro:16.04:LTSopenssh1:7.2p2-4ubuntu2.10+esm8UBUNTU-CVE-2026-35385 USN-8514-1
UbuntuPro:18.04:LTSopenssh1:7.6p1-4ubuntu0.7+esm5UBUNTU-CVE-2026-35385 USN-8514-2
UbuntuPro:20.04:LTSopenssh1:8.2p1-4ubuntu0.13+esm2UBUNTU-CVE-2026-35385 USN-8514-2
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:16.04:LTS, Pro:FIPS-updates:18.04:LTS and 4 moreopensshno fix listedUBUNTU-CVE-2026-35385
UbuntuPro:FIPS-updates:22.04:LTSopenssh1:8.9p1-3ubuntu0.15+Fips1UBUNTU-CVE-2026-35385
UbuntuPro:FIPS-updates:24.04:LTSopenssh1:9.6p1-3ubuntu13.16+Fips1UBUNTU-CVE-2026-35385
Red Hatenterprise_linux:8::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-29.el8_10RHSA-2026:13383
Red Hatenterprise_linux:8::appstreampam_ssh_agent_auth-debuginfo0:0.10.3-7.29.el8_10RHSA-2026:13383
Red Hatenterprise_linux:8::baseosopenssh, openssh-cavs, openssh-ldap and 11 more0:8.0p1-29.el8_10RHSA-2026:13383
Red Hatenterprise_linux:8::baseospam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.3-7.29.el8_10RHSA-2026:13383
Red Hatenterprise_linux:9::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:8.7p1-49.el9_7RHSA-2026:13381
Red Hatenterprise_linux:9::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:9.9p1-7.el9_8RHSA-2026:19219
Red Hatenterprise_linux:9::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-5.49.el9_7RHSA-2026:13381
Red Hatenterprise_linux:9::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-7.7.el9_8RHSA-2026:19219
Red Hatenterprise_linux:9::baseosopenssh, openssh-keycat, openssh-server and 8 more0:8.7p1-49.el9_7RHSA-2026:13381
Red Hatenterprise_linux:9::baseosopenssh, openssh-keycat, openssh-server and 8 more0:9.9p1-7.el9_8RHSA-2026:19219
Red Hatenterprise_linux:9::baseospam_ssh_agent_auth-debuginfo0:0.10.4-5.49.el9_7RHSA-2026:13381
Red Hatenterprise_linux:9::baseospam_ssh_agent_auth-debuginfo0:0.10.4-7.7.el9_8RHSA-2026:19219
23 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moreopenssh, openssh-askpass-gnome8.4p1-150300.3.65.1SUSE-SU-2026:2375-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5openssh8.4p1-150300.3.65.1SUSE-SU-2026:2375-1
SUSELinux Enterprise Module for Basesystem 15 SP7openssh9.6p1-150600.6.42.1SUSE-SU-2026:2371-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7openssh-askpass-gnome9.6p1-150600.6.42.1SUSE-SU-2026:2371-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssh, openssh-askpass-gnome6.6p1-36.31.1SUSE-SU-2026:2515-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh, openssh-askpass-gnome7.2p2-81.40.1SUSE-SU-2026:2395-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh8.48.4p1-8.24.1SUSE-SU-2026:2430-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6openssh, openssh-askpass-gnome9.6p1-150600.6.42.1SUSE-SU-2026:2371-1
SUSELinux Micro 6.0openssh9.6p1-6.1SUSE-SU-2026:23249-1
openSUSETumbleweedopenssh10.3p1-4.1openSUSE-SU-2026:10804-1
AlmaLinux8openssh, openssh-cavs, openssh-ldap and 4 more8.0p1-29.el8_10ALSA-2026:13383
AlmaLinux8pam_ssh_agent_auth0.10.3-7.29.el8_10ALSA-2026:13383
AlmaLinux9openssh, openssh-keycat, openssh-server and 2 more8.7p1-49.el9_7.alma.1ALSA-2026:13381
AlmaLinux9openssh, openssh-keycat, openssh-server and 2 more9.9p1-7.el9_8.alma.1ALSA-2026:19219
AlmaLinux9pam_ssh_agent_auth0.10.4-5.49.el9_7.alma.1ALSA-2026:13381
AlmaLinux9pam_ssh_agent_auth0.10.4-7.7.el9_8.alma.1ALSA-2026:19219
AlmaLinux10openssh, openssh-keycat, openssh-server and 3 more9.9p1-14.el10_1.alma.1ALSA-2026:13380
AlmaLinux10openssh, openssh-keycat, openssh-server and 3 more9.9p1-23.el10_2.alma.1ALSA-2026:19069
Rocky Linux8openssh0:8.0p1-29.el8_10RLSA-2026:13383
Rocky Linux9openssh0:8.7p1-49.el9_7.rocky.0.1RLSA-2026:13381
Rocky Linux9openssh0:9.9p1-7.el9_8.rocky.0.1RLSA-2026:19219
Rocky Linux10openssh0:9.9p1-14.el10_1.rocky.0.1RLSA-2026:13380
Rocky Linux10openssh0:9.9p1-23.el10_2.rocky.0.1RLSA-2026:19069
Alpinev3.24dropbear2026.91-r0ALPINE-CVE-2026-35385
Azure Linux3openssh9.8p1-6AZL-81797
Alpaquita23openssh9.1_p1-r15BELL-CVE-2026-35385
Alpaquita25, streamopenssh10.3_p1-r0BELL-CVE-2026-35385
BellSoft Hardened Containers23openssh9.1_p1-r15BELL-CVE-2026-35385
BellSoft Hardened Containers25, streamopenssh10.3_p1-r0BELL-CVE-2026-35385

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity flaw because an untrusted remote system can deliver arbitrary setuid or setgid binaries to the local filesystem, resulting in root privilege escalation. Exploitation requires specific preconditions: an administrative user must run the file copy utility with root privileges while deliberately invoking the legacy transfer protocol and omitting preservation of file attributes. Because modern Red Hat Enterprise Linux releases utilize the SFTP-based backend by default, standard client invocations are not exposed unless backward-compatibility modes are explicitly enabled.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openssh-0:9.9p1-14.el10_1Fixed 2026-05-04RHSA-2026:13380
Red Hat Enterprise Linux 10openssh-0:9.9p1-23.el10_2Fixed 2026-05-19RHSA-2026:19069
Red Hat Enterprise Linux 10.0 Extended Update Supportopenssh-0:9.9p1-7.el10_0.3Fixed 2026-04-30RHSA-2026:12389
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONopenssh-0:5.3p1-125.el6_10.1Fixed 2026-06-10RHSA-2026:25063
Red Hat Enterprise Linux 7 Extended Lifecycle Supportopenssh-0:7.4p1-23.el7_9.2Fixed 2026-06-02RHSA-2026:22468
Red Hat Enterprise Linux 8openssh-0:8.0p1-29.el8_10Fixed 2026-05-04RHSA-2026:13383
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportopenssh-0:8.0p1-7.el8_4.2Fixed 2026-06-01RHSA-2026:22329
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onopenssh-0:8.0p1-7.el8_4.2Fixed 2026-06-01RHSA-2026:22329
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportopenssh-0:8.0p1-15.el8_6.5Fixed 2026-05-27RHSA-2026:21398
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceopenssh-0:8.0p1-15.el8_6.5Fixed 2026-05-27RHSA-2026:21398
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsopenssh-0:8.0p1-15.el8_6.5Fixed 2026-05-27RHSA-2026:21398
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceopenssh-0:8.0p1-20.el8_8.4Fixed 2026-05-27RHSA-2026:21298
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsopenssh-0:8.0p1-20.el8_8.4Fixed 2026-05-27RHSA-2026:21298
Red Hat Enterprise Linux 9openssh-0:8.7p1-49.el9_7Fixed 2026-05-04RHSA-2026:13381
Red Hat Enterprise Linux 9openssh-0:9.9p1-7.el9_8Fixed 2026-05-19RHSA-2026:19219
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsopenssh-0:8.7p1-30.el9_2.11Fixed 2026-06-02RHSA-2026:22648
Red Hat Enterprise Linux 9.4 Extended Update Supportopenssh-0:8.7p1-38.el9_4.8Fixed 2026-06-03RHSA-2026:22564
Multicluster Engine for Kubernetesmulticluster-engine/hive-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-resolvers-rhel9Under investigation
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-rhel9Affected
21 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-35385.

References

Check your stackJSON