CVE-2026-35385
OpenSSH: OpenSSH: Privilege escalation via scp legacy protocol when not preserving file mode
Overview
Description
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).
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-281
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | <10.3.1+0 | 10.3.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 74 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssh | 0:9.8p1-6.azl3 |
Oracle Linux 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | pam-ssh-agent-auth | 0.10.3-2.23.0.5.el7_9 |
| 7 | pam-ssh-agent-auth | 10:0.10.3-2.23.0.5.el7_9_fips |
| 7 | openssh +7 | 10:7.4p1-23.0.5.el7_9_fips |
| 7 | openssh +7 | 7.4p1-23.0.5.el7_9 |
| 8 | pam-ssh-agent-auth | 0.10.3-7.29.0.1.el8_10 |
| 8 | openssh +6 | 8.0p1-29.0.1.el8_10 |
2 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.9p1-15.ph4 |
| 5.0 | openssh +3 | 9.3p2-21.ph5 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 7 | openssh +1 | 0:7.4p1-23.el7_9.2 | RHSA-2026:22468 |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.15.el8_6.5 | RHSA-2026:21398 |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.29.el8_10 | RHSA-2026:13383 |
| 8 | openssh +6 | 0:8.0p1-15.el8_6.5 | RHSA-2026:21398 |
14 more rows
SUSE Linux Enterprise 6 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | openssh +3 | 7.2p2-81.37.1 | SUSE-SU-2026:2025-1 |
| 12.5 | openssh8-4 +5 | 8.4p1-8.24.1 | SUSE-SU-2026:2430-1 |
| 15.4 | openssh +6 | 8.4p1-150300.3.60.1 | SUSE-SU-2026:2024-1 |
| 15.5 | openssh +6 | 8.4p1-150300.3.60.1 | SUSE-SU-2026:2024-1 |
| 15.6 | openssh +7 | 9.6p1-150600.6.37.1 | SUSE-SU-2026:1876-1 |
| 15.7 | openssh +7 | 9.6p1-150600.6.37.1 | SUSE-SU-2026:1876-1 |
1 more row
SUSE Linux Enterprise Micro 6 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | openssh +4 | 8.4p1-150300.3.60.1 | SUSE-SU-2026:2024-1 |
| 5.4 | openssh +4 | 8.4p1-150300.3.60.1 | SUSE-SU-2026:2024-1 |
| 5.5 | openssh +4 | 8.4p1-150300.3.60.1 | SUSE-SU-2026:2024-1 |
| 6.0 | openssh +5 | 9.6p1-5.1 | SUSE-SU-2026:21627-1 |
| 6.1 | openssh +5 | 9.6p1-slfo.1.1_4.1 | SUSE-SU-2026:21634-1 |
| 6.2 | openssh +4 | 10.0p2-160000.5.1 | SUSE-SU-2026:21748-1 |
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.29.el8_10 |
| 8 | openssh +6 | 8.0p1-29.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-7.7.el9_8.alma.1 |
| 9 | openssh +4 | 9.9p1-7.el9_8.alma.1 |
alpine 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.24 | dropbear | 2026.91-r0 |
| edge | openssh | 10.3_p1-r0 |
| edge | dropbear | 2026.91-r0 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | pam-ssh-agent-auth +1 | 0.10.4-4.8.amzn2023.0.17 |
| 2023 | openssh +8 | 8.7p1-8.amzn2023.0.17 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssh | 1:8.4p1-5+deb11u7 |
| 12 | openssh | 1:9.2p1-2+deb12u10 |
| 13 | openssh | 1:10.0p1-7+deb13u3 |
| 14 | openssh | 1:10.3p1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:9.2p1-2+deb12u10 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | openssh +6 | 10.3p1-4.1 | openSUSE-SU-2026:10804-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | openssh +7 | 10.0p2-160000.5.1 | openSUSE-SU-2026:20757-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssh +3 | 9.9p1-14.el10_1.rocky.0.1 |
| 10 | openssh +3 | 9.9p1-23.el10_2.rocky.0.1 |
| 8 | pam-ssh-agent-auth | 0.10.3-7.29.el8_10 |
| 8 | openssh +5 | 8.0p1-29.el8_10 |
| 9 | openssh +3 | 8.7p1-49.el9_7.rocky.0.1 |
| 9 | openssh +3 | 9.9p1-7.el9_8.rocky.0.1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssh +1 | 1:8.4p1-5+deb11u7 |
| 12 | openssh +1 | 1:9.2p1-2+deb12u10 |
| 13 | openssh +1 | 1:10.0p1-7+deb13u3 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssh | 1:7.6p1-4ubuntu0.7+esm5 |
| 20.04-ESM | openssh | 1:8.2p1-4ubuntu0.13+esm2 |
| 22.04 | openssh | 1:8.9p1-3ubuntu0.15 |
| 24.04 | openssh | 1:9.6p1-3ubuntu13.16 |
| 26.04 | openssh | 1:10.2p1-2ubuntu3.2 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:12389
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13380
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13381
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13383
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:14937
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:16059
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19069
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19219
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:20040
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21275
Show all 61 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21298
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21398
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22329
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22468
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22564
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22648
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25044
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25063
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25096
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25181
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:26528
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:26542
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:28887
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:28962
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30078
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30087
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30088
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30089
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34098
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:58981
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-35385
- bugzilla.redhat.com https://bugzilla.redhat.com/2454469
- bugzilla.redhat.com https://bugzilla.redhat.com/2454490
- bugzilla.redhat.com https://bugzilla.redhat.com/2454494
- bugzilla.redhat.com https://bugzilla.redhat.com/2454500
- bugzilla.redhat.com https://bugzilla.redhat.com/2454506
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454469
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454490
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454494
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454500
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454506
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35385
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35386
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35387
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35388
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35414
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-19219.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:13383
- github.com https://github.com/advisories/GHSA-jgqr-738j-43cg
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-35385.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50325.html
- marc.info https://marc.info/?l=openssh-unix-dev&m=177513443901484&w=2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-35385
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35385.json
- ubuntu.com https://ubuntu.com/security/notices/USN-8222-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8514-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8514-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-35385
- www.openssh.org https://www.openssh.org/releasenotes.html#10.3p1
- www.openwall.com https://www.openwall.com/lists/oss-security/2026/04/02/3
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.