Description
scponly 4.6 and earlier allows remote authenticated users to bypass intended restrictions and execute arbitrary code by invoking scp, as implemented by OpenSSH, with the -F and -o options.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | scponly | 4.6-1etch1 | DSA-1473-1 |
| Debian 3.1 | scponly | 4.0-1sarge2 | DSA-1473-1 |
Advisories 1
- DSA-1473-1 scponly - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1473 vendor-advisory
- GLSA-200802-06 vendor-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=203099
- 28944 third-party-advisory
- FEDORA-2008-1728 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437148
- 28538 third-party-advisory
- FEDORA-2008-1743 vendor-advisory
- 28981 third-party-advisory