CVE-2019-6111: An issue was discovered in OpenSSH 7.9.

CVE-2019-6111 affects 165 listed versions of OpenSSH, FreeBSD in the Dawnsentry catalogue.

5.9CVSS medium
Proof of concept publicexploitation
58%EPSS (next 30 days)
31 January 2019published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

OpenSSH

140 of 193 listed versions are affected. No fixed release is named. The newest release, 10.6 P2, is not affected.

7.9 7.8 P1 7.8 7.7 P1 7.7 7.6 P1 7.6 7.5 P1 7.4 P1 7.4 7.3 P1 7.3 7.2 P2 7.2 P1 7.2 7.1 P2 7.1 P1 7.1 7.0 P1 7.0 6.9 P1 6.9 6.8 P1 6.8 6.7 P1 6.7 6.6 P1 6.6 6.5 P1 6.5 6.4 P1 6.4 6.3 P1 6.3 6.2 P2 6.2 P1 6.2 6.1 P1 6.1 6.0 P1 6.0 5.9 P1 5.9 5.8 P2 5.8 P1 5.8 5.7 P1 5.7 5.6 P1 5.6 5.5 P1 5.5 5.4 P1 5.4 5.3 P1 5.3 5.2 P1 5.2 5.1 P1 5.1 and 80 more

FreeBSD

25 of 250 listed versions are affected. No fixed release is named. The newest release, 15.1-p7, is not affected.

12.0-p3 12.0-p2 12.0-p1 12.0 11.4-p13 11.4-p12 11.4-p11 11.4-p10 11.4-p9 11.4-p8 11.4-p7 11.4-p6 11.4-p5 11.4-p4 11.4-p3 11.4-p2 11.4-p1 11.4 11.4-rc2 11.3-STABLE 11.3-p14 11.3-p13 11.3-p12 11.3-p11 11.3-p10

What it is

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).

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD)

Published by MITRE on 31 January 2019. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2019-6111 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.