CVE-2026-35385 is a file permission flaw in OpenSSH's scp: a file copied as root with the legacy scp protocol can keep its setuid or setgid bit. Westermo's advisory Westermo-26-05 lists WeOS 5 from 5.25.0 up to but not including 5.29.0 as affected and fixes it in WeOS 5.29.0. Only an authenticated Engineer or Administrator can use it on WeOS.
Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.
How severe is CVE-2026-35385?
CVSS base score
8.1
High severity
EPSS score (FIRST)
0.6%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2026-35385 · Source: NVD

Which products and versions does CVE-2026-35385 affect?
| Component | CPE | Version range |
|---|---|---|
| OpenSSH scp | cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* | before 10.3 (NVD CPE range and CVE record) |
| Westermo WeOS 5 | — | >= 5.25.0, < 5.29.0; fixed in 5.29.0 (Westermo-26-05); WeOS 4 not affected; no NVD CPE for WeOS |
What does CVE-2026-35385 mean for affected devices?
The CVE record, assigned by MITRE, says that "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)". The weakness is CWE-281, improper preservation of permissions. OpenSSH fixed it in release 10.3, announced on 2026-04-02: when downloading files as root in legacy mode without the preserve flag, scp "did not clear setuid/setgid bits from downloaded files as one might typically expect", a bug the announcement says dates back to the original Berkeley rcp program, reported by Christos Papakonstantinou of Cantina and Spearbit (OpenSSH 10.3 announcement). The CVE record was published the same day (CVE.org record).
How is it scored?
| Scorer | CVSS v3.1 | Vector |
|---|---|---|
| NVD (Primary) | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| MITRE (CNA) | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Red Hat (ADP) | 7.5 | same as MITRE |
| Westermo, for WeOS 5 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD's CPE covers OpenSSH before 10.3 (NVD). Westermo's score is lower because on WeOS the attacker must already hold an Engineer or Administrator login.
Which WeOS versions are affected?
Westermo published Westermo-26-05 on 2026-05-26 with impact MEDIUM. It describes the flaw as sitting in the WeOS 5 file transfer component that provides the secure copy protocol, so transferred files can keep their original permissions, including the SUID and GUID bits.
| Operating system | Vulnerable versions | Fixed in |
|---|---|---|
| WeOS 5 | >= 5.25.0, < 5.29.0 | 5.29.0 |
| WeOS 4 | Not affected | - |
Westermo stresses the limits on its products: only an authenticated Engineer or Administrator can transfer the files, the WeOS CLI and Web UI cannot run them, and exploitation also needs shell access through an Administrator account. There is no CISA ICS advisory for this CVE.
What should WeOS 5 owners do?
Upgrade to WeOS 5.29.0 or later. If an upgrade is not possible, Westermo's workarounds are to transfer files only from trusted sources, allow SSH only on internal interfaces and disable SSH external access if it has been turned on (it is off by default, under configure, management, ssh, external-access in the CLI). After any mitigation Westermo recommends removing unused accounts, restricting Operator, Engineer and Administrator accounts to trusted users, keeping Administrator access to a few people, changing credentials on previously vulnerable devices, minimizing exposure of the management interface and limiting physical access to the console port.
Earlier SSH flaws in WeOS have their own pages: Westermo's Westermo-24-06 fixed CVE-2023-48795 (Terrapin) and CVE-2021-36369 in WeOS 5.22.0. The Westermo WeOS vulnerabilities guide lists every WeOS advisory with its fixed release.
CVE-2026-35385 is not in the CISA KEV catalog as of 2026-12-04 (catalog version 2026.12.03, 1,811 entries). FIRST EPSS gives it 0.00642, the 52.2nd percentile, in the 2026-12-03 dataset (CISA KEV, FIRST EPSS). The KEV and EPSS prioritization guide explains how to rank it.

How do the CVSS, EPSS and KEV signals for CVE-2026-35385 compare?
| Signal | Value for CVE-2026-35385 | Source | What it tells you |
|---|---|---|---|
| CVSS base score | 8.1 (High) | NVD | How severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it. |
| EPSS probability | 0.6% | FIRST EPSS | The probability that the CVE is exploited in the wild in the next 30 days. |
| CISA KEV listing | Not listed as of 2026-12-04 | CISA KEV catalog | A listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies. |
| Published | 2026-04-02 | NVD | The date the CVE record was first published in NVD. |
How does the CVE-2026-35385 score change on your network?
A CVSS base score assumes the worst-case exposure. If the vulnerable interface on your device is reachable only from a local segment, or an attacker needs an account first, change those metrics below to see the re-scored base value. The FIRST CVSS v3.1 specification puts deployment-specific scoring in the Environmental metric group, so treat this as a quick what-if, not a replacement score.
Starting vector (matches the CVSS score above): CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Quoted vector: 8.1 (High)
Your re-score: 8.1 (High)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

How do you check CVE-2026-35385 status from the command line?
These commands re-read the three public signals for CVE-2026-35385 (NVD, FIRST EPSS and the CISA KEV feed) so a build pipeline or a ticket can record the current values. They need curl and jq.
# NVD: CVSS metrics and record status (no API key: at most 5 requests per 30 s)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-35385" \
| jq '.vulnerabilities[0].cve | {vulnStatus, metrics}'
# FIRST EPSS: today's exploitation probability and percentile
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2026-35385" | jq '.data[0]'
# CISA KEV: prints the catalog entry, or nothing if the CVE is not listed
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
| jq --arg id CVE-2026-35385 '.vulnerabilities[] | select(.cveID == $id)'Which sources back each CVE-2026-35385 claim?
- NVD (read 2026-12-04): status Modified; published 2026-04-02; Primary CVSS v3.1 8.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H; MITRE and Red Hat Secondary 7.5 UI:R; CWE-281; CPE OpenSSH before 10.3. — NVD
- Westermo-26-05 (2026-05-26, MEDIUM): WeOS 5 >=5.25.0 <5.29.0 fixed in 5.29.0; WeOS 4 not affected; Westermo 7.0 AV:L/AC:H/PR:L; authenticated Engineer or Administrator only; workarounds and recommendations. — Westermo
- CVE.org record: state PUBLISHED, assigner MITRE, published 2026-04-02; OpenSSH before 10.3; CVSS v3.1 7.5; ADP CISA and Red Hat. — CVE.org
- OpenSSH 10.3 release announcement on oss-security (2026-04-02): scp did not clear setuid/setgid bits when downloading as root in legacy -O mode without -p; reported by Christos Papakonstantinou of Cantina and Spearbit. — oss-security
- Westermo-24-06 (2024-11-11): CVE-2021-36369 and CVE-2023-48795 in the WeOS SSH component fixed in WeOS 5.22.0. — Westermo
- Not in CISA KEV, catalog version 2026.12.03, 1,811 entries, checked 2026-12-04. — CISA KEV
- EPSS 0.00642, percentile 52.2, dataset 2026-12-03. — FIRST EPSS

Advisories in the same weakness class as CVE-2026-35385
Sources for CVE-2026-35385
CVE-2026-35385: frequently asked questions
Which WeOS release fixes CVE-2026-35385?
WeOS 5.29.0, according to Westermo-26-05. WeOS 5 from 5.25.0 up to but not including 5.29.0 is affected; WeOS 4 is not affected.
Why does Westermo score it 7.0 when NVD says 8.1?
NVD scores the OpenSSH flaw as network-reachable without privileges. On WeOS only an authenticated Engineer or Administrator can transfer files, and running them needs Administrator shell access, so Westermo scores a local vector with low privileges.
What can I do before upgrading?
Transfer files only from trusted sources, allow SSH only on internal interfaces, and keep SSH external access disabled, which is the default. Limit Administrator accounts to a few trusted users.
Is CVE-2026-35385 in the CISA KEV catalog?
No. It is not listed as of 2026-12-04 (catalog version 2026.12.03). FIRST EPSS gives it 0.00642, the 52.2nd percentile, in the 2026-12-03 dataset.
Questions about this page?