CVE-2026-35385: CWE-281 Improper Preservation of Permissions in OpenBSD OpenSSH
CVE-2026-35385 is a high-severity vulnerability in OpenSSH versions before 10. 3 where files downloaded using scp with the legacy protocol (-O) as root and without the preserve mode (-p) may be installed with setuid or setgid permissions unexpectedly. This behavior violates user expectations and can lead to improper permission assignments on downloaded files.
AI Analysis
Technical Summary
This vulnerability (CWE-281) in OpenSSH prior to version 10.3 involves improper preservation of file permissions during scp downloads. Specifically, when scp is run as root using the legacy protocol option (-O) and without the -p flag to preserve file modes, the downloaded file may be created with setuid or setgid bits set. This can lead to security risks by granting elevated privileges to the file unexpectedly. The issue arises from the way scp handles file permission bits during the transfer process.
Potential Impact
The impact of this vulnerability is that files downloaded via scp under the specified conditions may have elevated permissions (setuid or setgid) that were not intended by the user. This can potentially allow privilege escalation or unauthorized access if the downloaded file is executed or accessed by other users. The CVSS score of 7.5 reflects a high severity with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No explicit patch or remediation details are provided in the available data. Since the vulnerability affects OpenSSH versions before 10.3, upgrading to OpenSSH 10.3 or later is the recommended mitigation to ensure this issue is resolved. Until then, users should avoid using scp with the -O option as root without the -p flag or consider alternative secure file transfer methods. Patch status is not yet confirmed — check the OpenBSD vendor advisory for current remediation guidance.
CVE-2026-35385: CWE-281 Improper Preservation of Permissions in OpenBSD OpenSSH
Description
CVE-2026-35385 is a high-severity vulnerability in OpenSSH versions before 10. 3 where files downloaded using scp with the legacy protocol (-O) as root and without the preserve mode (-p) may be installed with setuid or setgid permissions unexpectedly. This behavior violates user expectations and can lead to improper permission assignments on downloaded files.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-281) in OpenSSH prior to version 10.3 involves improper preservation of file permissions during scp downloads. Specifically, when scp is run as root using the legacy protocol option (-O) and without the -p flag to preserve file modes, the downloaded file may be created with setuid or setgid bits set. This can lead to security risks by granting elevated privileges to the file unexpectedly. The issue arises from the way scp handles file permission bits during the transfer process.
Potential Impact
The impact of this vulnerability is that files downloaded via scp under the specified conditions may have elevated permissions (setuid or setgid) that were not intended by the user. This can potentially allow privilege escalation or unauthorized access if the downloaded file is executed or accessed by other users. The CVSS score of 7.5 reflects a high severity with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No explicit patch or remediation details are provided in the available data. Since the vulnerability affects OpenSSH versions before 10.3, upgrading to OpenSSH 10.3 or later is the recommended mitigation to ensure this issue is resolved. Until then, users should avoid using scp with the -O option as root without the -p flag or consider alternative secure file transfer methods. Patch status is not yet confirmed — check the OpenBSD vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-02T16:30:59.107Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69cea98de6bfc5ba1defd64d
Added to database: 4/2/2026, 5:38:21 PM
Last enriched: 4/9/2026, 10:51:26 PM
Last updated: 5/20/2026, 5:28:40 AM
Views: 659
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.