Weakness
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).
Affected products
- openbsd openssh
References
- https://marc.info/?l=openssh-unix-dev&m=177513443901484&w=2
- https://www.openssh.org/releasenotes.html#10.3p1
- https://www.openwall.com/lists/oss-security/2026/04/02/3
- https://access.redhat.com/errata/RHSA-2026:12389
- https://access.redhat.com/errata/RHSA-2026:13380
- https://access.redhat.com/errata/RHSA-2026:13381
Find the bug before an attacker does.
Sign in with GitHub and run your first audit in under a minute. The free plan needs no credit card.