Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35385: CWE-281 Improper Preservation of Permissions in OpenBSD OpenSSH

0
High
VulnerabilityCVE-2026-35385cvecve-2026-35385cwe-281
Published: Thu Apr 02 2026 (04/02/2026, 16:30:59 UTC)
Source: CVE Database V5
Vendor/Project: OpenBSD
Product: 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

AILast updated: 04/09/2026, 22:51:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses