CVE-2020-15778: Command Injection in OpenSSH scp Destination Handling
- Vendors
- NetAppVMwareOpenbsd
CVE-2020-15778 is a disputed command-injection vulnerability in the OpenSSH scp client through version 8.3p1. The toremote function permits shell interpretation of destination arguments containing backticks, allowing attacker-controlled destination text to execute unintended commands during a remote file transfer. OpenSSH maintainers reportedly intentionally omit validation of anomalous argument transfers because it could break existing workflows.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker who can influence an scp destination argument can cause arbitrary shell commands to execute with the privileges of the account handling the remote commands. Consequences can include unauthorized access to data, modification of files, or service disruption within that account's permissions. The vulnerability does not itself establish privilege escalation or an unauthenticated SSH-server compromise.
Mitigation
If you can’t patch tonight, do this now.
Do not pass untrusted destination arguments to scp. Enforce strict destination validation at the application boundary, preferably through allowlisted destination values, and reject shell metacharacters, including backticks. These are precautionary controls; no vendor-approved workaround is identified.
Remediation
Patch, then assume compromise.
Apply distribution-specific OpenSSH updates that explicitly address CVE-2020-15778. For Rocky Linux 8.6 under CIQ LTS, follow advisory ciqsa-2026_1742. For affected Red Hat container products, deploy the applicable updated images and rebuild dependent images. No universal fixed upstream version is identified. Where a verified fix is unavailable, replace vulnerable workflows with a file-transfer mechanism that does not interpret untrusted destination arguments as shell commands.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-15778 exploited in the wild?
- As of Nov 1, 2026, Mallory has no reports of CVE-2020-15778 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-15778?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2020-15778, the earliest disclosed Jul 15, 2021.
- Is there a patch for CVE-2020-15778?
- Apply distribution-specific OpenSSH updates that explicitly address CVE-2020-15778. For Rocky Linux 8.6 under CIQ LTS, follow advisory ciqsa-2026_1742.
- What products are affected by CVE-2020-15778?
- Openbsd Openssh, NetApp A700s Firmware, NetApp Activeiq Unified Manager, VMware Fabric Operating System, NetApp Hci Compute Node, and 4 more.
- How severe is CVE-2020-15778?
- CVE-2020-15778 has a CVSS v3.1 score of 7.4 (High) and an EPSS score of 13.7% (97th percentile) as of Nov 1, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.