CVE-2020-15778
A public proof of concept exists; no exploitation attested.
- Published2020-07-24
- Fixed in8.3
- WeaknessCWE-78
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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."
Timeline
dates in UTC- 2020-07-2414:15CVE publishedNVD
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.3 | < 8.3 | 8.3 | NVD |
| 8.3 | = 8.3 | no fix published | NVD |
| 8.3 | ≤ 8.3p1 | no fix published | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- opensshUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- opensshUbuntu:Pro:18.04:LTSall versions · no fixed version listed
- opensshUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- opensshUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- opensshRocky Linux:8all versions · fixed in 0:8.0p1-24.el8
- opensshRed Hat:enterprise_linux:8::baseosall versions · fixed in 0:8.0p1-24.el8and 13 other packages
- opensshopenEuler:20.03-LTS-SP2all versions · fixed in 8.2p1-14.oe1
- opensshopenEuler:20.03-LTS-SP1all versions · fixed in 8.2p1-14.oe1
17 more package ranges on OSV.dev
Vendor advisories
openssh: scp allows command injection when using backtick characters in the destination argument
openssh.src as a component of Red Hat Enterprise Linux 5 · openssh as a component of Red Hat Enterprise Linux 6 · openssh-askpass as a component of Red Hat Enterprise Linux 6 · +15 more
Red Hat Security Advisory: openssh security update
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
Fix
- Update OpenSSH to 8.3
- Vendor fix Red Hat Product Security RHSA-2024:3166 · 105 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Workaround from the vendor Red Hat Product Security RHSA-2024:3166 · 105 productsAs per upstream, because of the way scp is based on a historical protocol called rcp which relies on that style of argument passing and therefore encounters expansion problems. Making changes to how the scp command line works breaks the pattern used by scp consumers. Upstream therefore recommends t…
- Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
- No fix planned, says the vendor Red Hat Product Security CVE-2020-15778 · 8 productsOut of support scope
Advisories and patches
- www.openssh.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-05-01
- PoC-in-GitHub4 repositories, unverifiedknown since 2026-11-01cpandya2909/CVE-2020-15778Neko-chanQwQ/CVE-2020-15778-Exploityifanzhg/CVE-2020-15778drackyjr/CVE-2020-15778-SCP-Command-Injection-Check
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-05-01
- CISA-ADPCVSS 3.17.82024-05-01
- NVDCVSS 3.17.4read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- CISA-ADPweakness (CWE)CWE-782024-05-01
- NVDweakness (CWE)CWE-78read 2026-10-23
- FIRST EPSSEPSS score13.7 %read 2026-12-04
- PoC-in-GitHubproof of concept4known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2020-7762same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-cvxm-8hgf-6m6msame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2024:3166advisory covering several CVEsAlmaLinux · MIT
- OESA-2021-1377advisory covering several CVEsopenEuler · LicenseRef-unstated
- RHSA-2024:3166advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:3166advisory covering several CVEsRocky Linux · BSD-3-Clause
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Published
- 2020-07-24
- Last modified
- 2026-10-14
- NVD status
- Modified
- GitHub advisory
- GHSA-cvxm-8hgf-6m6m
Frequently asked questions
What is CVE-2020-15778?
Is CVE-2020-15778 actively exploited?
What is the CVSS score for CVE-2020-15778?
Running OpenSSH? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-cvxm-8hgf-6m6m
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0