Security Resilience

CVE-2026-35385

Openbsd Openssh ≤ 10.3

Published
02 April 2026
Modified
01 September 2026
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0067 47th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-35385 is a high-severity Improper Preservation of Permissions (CWE-281) vulnerability in Openbsd Openssh. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique NTDS (T1003.003); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-16 (Security and Privacy Attributes) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-35385 affects OpenSSH versions before 10.3, specifically the scp command. The vulnerability arises when a file is downloaded using scp executed as root with the -O option (enabling the legacy scp protocol) and without the -p option (to preserve mode bits). In this scenario, the downloaded file may be installed with setuid or setgid permissions, contrary to some users' expectations. The issue is classified under CWE-281 and carries a CVSS v3.1 base score of 7.5 (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).

An attacker can exploit this vulnerability over the network with no required privileges, though it demands high attack complexity and user interaction. The scenario involves tricking an administrator or root user into executing the vulnerable scp command with the specified flags to download a malicious file from a controlled remote server. Successful exploitation results in the file being placed with elevated setuid or setgid permissions, potentially enabling privilege escalation, unauthorized access, or execution of arbitrary code with root privileges, leading to high confidentiality, integrity, and availability impacts.

Advisories and release notes, including those from the OpenSSH development list, oss-security mailing list, and OpenSSH 10.3p1 release notes, recommend upgrading to OpenSSH 10.3 or later, where the behavior is fixed to prevent unintended setuid/setgid installation in this configuration.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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).

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2016-6210Same product: Openbsd Openssh
CVE-2026-59995Same product: Openbsd Openssh
CVE-2026-35388Same product: Openbsd Openssh
CVE-2026-35386Same product: Openbsd Openssh
CVE-2026-60002Same product: Openbsd Openssh
CVE-2026-60000Same product: Openbsd Openssh
CVE-2026-35387Same product: Openbsd Openssh
CVE-2026-59996Same product: Openbsd Openssh
CVE-2026-59997Same product: Openbsd Openssh
CVE-2026-60001Same product: Openbsd Openssh

Affected Assets

openbsd
openssh
≤ 10.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Associating and preserving security attributes (including permissions) with objects reduces the chance they are lost or weakened on copy/restore/share.

Enforcing approved authorizations for access directly stops objects from receiving or retaining less-restrictive permissions than intended.

Least-privilege assignments limit the blast radius when permissions are incorrectly relaxed during copy/restore/share operations.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Enforcing least-privilege permission policies and reviews directly prevents incorrect permission propagation on copy/restore/share operations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

Training raises developer awareness of secure permission handling during file operations, which keeps some instances of CWE-281 from being written, but the weakness is a specific implementation defect and the training is general awareness rather than targeted secure-coding practice, so it moves a minority of instances.

prevents

A.8.28 mandates secure coding practices (developer qualification, peer review, testing, analysis of common programming errors) that would catch some instances of permission-preservation defects, but the clause establishes a practice rather than a mechanism, and CWE-281 is a specific implementation defect requiring careful API selection and attention to permission semantics that the clause does not mandate directly.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses like CWE-281 the same way those practices do, at `partial` — the clause's declared ceiling on this verb.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, vendor advisories, CVE-driven detection), and CWE-281 is primarily a first-party implementation defect in how products handle permissions during copy/restore/share operations; the disclosed share (the CVE examples cited) is a minority of latent instances, so A.8.8 finds that minority and not the bulk.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Windows Server 2019 (1 rule)
  • V-205743 Windows Server 2019 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. blocks CWE-281

References