Remote File Access Bypass in OpenSSH Client

MonitorData or code tampering over the network if a user is tricked.
5.3MEDIUM

CVE-2018-20685

Key Information:

Vendor

OpenBSD

CVE ID
CVE ID:
CVE-2018-20685
Vendor
CVE Published:
10 January 2019

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Openssh. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.3).

What is CVE-2018-20685?

The OpenSSH client, specifically in version 7.9, contains a vulnerability in its SCP functionality that allows remote SSH servers to exploit filename handling. By using a filename of '.' or leaving the filename empty, attackers can circumvent normal access restrictions. This manipulation may enable unauthorized changes to the target directory's permissions on the client side, posing a significant security risk to users.

References

Password Authentication Bypass in OpenSSH on Linux Systems Using Musl libc

CVE-2026-123158
OpenBSDOpensshπŸ˜„πŸ‘Ύ8.1HIGH

Vulnerability in OpenSSH

CVE-2026-35414
OpenBSDOpensshπŸ‘Ύ4.2MEDIUM

Vulnerability in OpenSSH

CVE-2025-61984
OpenBSDOpensshπŸ˜„πŸ‘Ύ3.6LOW
View more OpenBSD vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.