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).Referenceshttps://www.openssh.org/releasenotes.html#10.3p1https://marc.info/?l=openssh-unix-dev&m=177513443901484&w=2https://www.openwall.com/lists/oss-security/2026/04/02/3