Bug 2454469 (CVE-2026-35385)

Summary: CVE-2026-35385 OpenSSH: OpenSSH: Privilege escalation via scp legacy protocol when not preserving file mode
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: alcohan, caryn.ciampa, gparvin, jbalunas, kshier, kyoshida, pahickey, rhaigner, rhel-process-autobot, stcannon, teagle, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in OpenSSH. When the `scp` command is used by a root user to download a file with the legacy protocol option (`-O`) and without preserving original file permissions (`-p`), the downloaded file can be installed with elevated privileges (setuid or setgid). This unexpected behavior could allow a malicious file to execute with higher permissions than intended, posing a security risk through potential privilege escalation.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2454941    
Bug Blocks:    

Description OSIDB Bzimport 2026-04-02 17:01:30 UTC
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).

Comment 2 errata-xmlrpc 2026-04-30 16:30:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:12389 https://access.redhat.com/errata/RHSA-2026:12389

Comment 3 errata-xmlrpc 2026-05-04 09:32:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:13380 https://access.redhat.com/errata/RHSA-2026:13380

Comment 4 errata-xmlrpc 2026-05-04 09:42:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:13381 https://access.redhat.com/errata/RHSA-2026:13381

Comment 5 errata-xmlrpc 2026-05-04 09:46:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:13383 https://access.redhat.com/errata/RHSA-2026:13383

Comment 6 errata-xmlrpc 2026-05-11 20:09:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:16059 https://access.redhat.com/errata/RHSA-2026:16059

Comment 7 errata-xmlrpc 2026-05-19 13:07:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:19069 https://access.redhat.com/errata/RHSA-2026:19069

Comment 8 errata-xmlrpc 2026-05-19 18:02:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19219 https://access.redhat.com/errata/RHSA-2026:19219

Comment 9 errata-xmlrpc 2026-05-27 09:52:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:21298 https://access.redhat.com/errata/RHSA-2026:21298

Comment 10 errata-xmlrpc 2026-05-27 16:01:56 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.19

Via RHSA-2026:20040 https://access.redhat.com/errata/RHSA-2026:20040

Comment 11 errata-xmlrpc 2026-05-27 18:12:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2026:21398 https://access.redhat.com/errata/RHSA-2026:21398

Comment 12 errata-xmlrpc 2026-06-01 18:46:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:22329 https://access.redhat.com/errata/RHSA-2026:22329

Comment 14 errata-xmlrpc 2026-06-02 20:44:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:22468 https://access.redhat.com/errata/RHSA-2026:22468

Comment 15 errata-xmlrpc 2026-06-02 21:57:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:22648 https://access.redhat.com/errata/RHSA-2026:22648

Comment 16 errata-xmlrpc 2026-06-03 04:37:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2026:22564 https://access.redhat.com/errata/RHSA-2026:22564

Comment 17 errata-xmlrpc 2026-06-10 11:29:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION

Via RHSA-2026:25063 https://access.redhat.com/errata/RHSA-2026:25063