Skip to main content
Mallory
HighVulnerability

CVE-2026-35385: Privilege escalation through legacy scp download permissions in OpenSSH

Published Apr 2, 2026 · Updated 15 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days5 mentions · peak 2 in a dayToday
CVSS8.1High · v3.1
EPSS0.75%51st percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Openbsd
IdentifiersCVE-2026-35385CWE-732

OpenSSH before version 10.3 incorrectly handles file permissions when scp downloads files as root using the legacy SCP protocol (-O) without preserve mode (-p). Downloaded files may be installed with setuid or setgid permission bits despite preservation of file modes not being requested. An attacker able to influence the downloaded file and its permissions could introduce an unintended privileged file, potentially enabling privilege escalation.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Affected downloads can create files with unexpected setuid or setgid permissions on the receiving system. If an attacker-controlled executable is installed with these permissions and subsequently executed under conditions that honor the privilege bits, it may execute with elevated user or group privileges, potentially including root privileges. The permission-handling flaw alone does not establish immediate code execution.

Mitigation

If you can’t patch tonight, do this now.

Avoid legacy SCP protocol mode and use SFTP-based scp transfers where supported. Perform downloads with a non-root account, then validate ownership and permissions before installing files with elevated privileges. Inspect downloaded files for unexpected setuid or setgid bits and remove them before use. Enabling preserve mode is not a general safeguard for untrusted downloads because it intentionally preserves source permissions.

Remediation

Patch, then assume compromise.

Upgrade OpenSSH to version 10.3 or later, or install the operating-system vendor's security update containing a backported fix. Photon OS 5.0 provides corrected OpenSSH packages in version 9.3p2-21.ph5. Ubuntu fixes include 1:8.2p1-4ubuntu0.13+esm2 for Ubuntu 20.04 LTS, 1:7.6p1-4ubuntu0.7+esm5 for Ubuntu 18.04 LTS, and 1:6.6p1-2ubuntu2.13+esm3 for Ubuntu 14.04 LTS; these require Ubuntu Pro, with the Legacy Support add-on additionally required for Ubuntu 14.04. Audit files previously obtained through root-run legacy SCP downloads and remove unintended setuid or setgid bits.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
OpenbsdOpensshapplication
FAQ

Frequently asked questions

Is CVE-2026-35385 exploited in the wild?
As of Nov 14, 2026, Mallory has no reports of CVE-2026-35385 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-35385?
As of Nov 14, 2026, Mallory has found no public exploit for CVE-2026-35385.
Is there a patch for CVE-2026-35385?
Upgrade OpenSSH to version 10.3 or later, or install the operating-system vendor's security update containing a backported fix. Photon OS 5.0 provides corrected OpenSSH packages in version 9.3p2-21.ph5.
What products are affected by CVE-2026-35385?
Openbsd Openssh.
How severe is CVE-2026-35385?
CVE-2026-35385 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 0.75% (51st percentile) as of Nov 14, 2026.
Activity feed

Recent activity

47 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+20 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity10Community discussion across Reddit, Mastodon, and other social sources.