CVE-2026-35385Published Apr 2, 2026 · Apr 2Updated Oct 28
In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users…
OpenBSD OpenSSH
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OpenBSD OpenSSH |
| No fix yet |
Original description
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).
From the CVE record · mitre