Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2020-15778 EUVD-2020-7762GHSA-cvxm-8hgf-6m6m

scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destina…

Published Jul 24, 2020 · Updated Oct 14, 2026 · Assigned by mitre

Description

scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."

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.

ReleasePackageFixed inAdvisory
Debian 14 openssh No fix yet —
Debian 13 openssh No fix yet —
Debian 12 openssh No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS openssh No fix yet —
Ubuntu Pro 18.04 LTS openssh No fix yet —
Ubuntu Pro 16.04 LTS openssh No fix yet —
Ubuntu Pro 14.04 LTS openssh No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 openssh +6 8.0p1-24.el8 RHSA-2024:3166
RHEL 8 pam_ssh_agent_auth 0.10.3-7.24.el8 RHSA-2024:3166

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 openssh +6 8.0p1-24.el8 ALSA-2024:3166
AlmaLinux 8 pam_ssh_agent_auth 0.10.3-7.24.el8 ALSA-2024:3166

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 openssh 8.0p1-24.el8 RLSA-2024:3166
ReleasePackageFixed inAdvisory
Alpine v3.24 openssh 8.3_p1-r0 —
Alpine v3.23 openssh 8.3_p1-r0 —
Alpine v3.22 openssh 8.3_p1-r0 —
Alpine v3.21 openssh 8.3_p1-r0 —
Alpine v3.20 openssh 8.3_p1-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssh 8.3_p1-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 openssh +6 8.0p1-24.0.1.el8 ELSA-2024-3166
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-7.24.0.1.el8 ELSA-2024-3166

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 11

References