Patchfirst
CVE-2019-6111 Public exploit Medium · 5.9 EPSS 58.2%

An issue was discovered in OpenSSH 7.9

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The flaw is in the scp client of OpenSSH 7.9, whose implementation is derived from the 1983 rcp utility and only partially validates file and directory names supplied by the server. An attacker who controls an scp server, or who can act as a man-in-the-middle, can overwrite arbitrary files in the client's target directory, and with recursive transfers (-r) can also reach subdirectories such as .ssh/authorized_keys, with exploitation requiring network access and a specially crafted server response.

Official description · CVE.org

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

Breakdown
74.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 21 months after disclosure. Public exploit code (Exploit-DB) was available 20 days before disclosure.

  1. Public exploit codeExploit-DB20 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+21 mo

A fix was bypassed or incomplete once over 7 years.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2019-6111An issue was discovered in OpenSSH 7.931 Jan 2019
  2. relatedLow

    Why these are linked:

    • Stated in the CVE textThis is similar to CVE-2019-6111.
    CVE-2019-7283An issue was discovered in rcp in NetKit through 0.1731 Jan 2019
  3. same family
    CVE-2019-25017An issue was discovered in rcp in MIT krb5-appl through 1.0.32 Feb 2021
  4. same family
    CVE-2023-35812An issue was discovered in the Amazon Linux packages of OpenSSH…3 Apr 2024
  5. same family
    CVE-2026-0964Libssh: improper sanitation of paths received from scp servers26 Mar 2026

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

25 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close