Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2018-20685: In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of .

MediumCVSS 5.3 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3.6% (FIRST EPSS); higher than 89.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
  • Fixed version: dropbear (Alpine:v3.10) 2019.78-r1; openssh (Alpine:v3.10) 7.9_p1-r3; dropbear (Alpine:v3.13) 2020.79-r0.

Low priority for now. Upgrade to dropbear (Alpine:v3.10) 2019.78-r1; openssh (Alpine:v3.10) 7.9_p1-r3; dropbear (Alpine:v3.13) 2020.79-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.

Published
Jan 10, 2019
Updated
Jun 16, 2026
EPSS
3.6% · 89th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
21 / 40 · 5.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.6%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2018-20685

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is OpenSSH on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Is OpenSSH on your server exposed to the internet?Run a port scan

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
openbsdopenssh
winscpwinscp
netappcloud backup
netappelement software
netappontap select deploy
netappsteelstore cloud integrated storage
netappstorage automation store
debiandebian linux
canonicalubuntu linux
redhatenterprise linux
redhatenterprise linux eus
redhatenterprise linux server aus

and 18 more

Is OpenSSH on your server exposed to the internet?

The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.

Run a port scan

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux18.10
  • debian debian linux8.0
  • debian debian linux9.0
  • fujitsu m10-1 firmwarebefore xcp3070
  • fujitsu m10-1 firmwarebefore xcp2361

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10dropbearbefore 2019.78-r12019.78-r1
Alpine:v3.10opensshbefore 7.9_p1-r37.9_p1-r3
Alpine:v3.13dropbearbefore 2020.79-r02020.79-r0
Alpine:v3.6opensshbefore 7.5_p1-r47.5_p1-r4
Alpine:v3.7opensshbefore 7.5_p1-r107.5_p1-r10
Alpine:v3.8opensshbefore 7.7_p1-r47.7_p1-r4
Alpine:v3.9dropbearbefore 2018.76-r32018.76-r3
Debian:12opensshbefore 1:7.9p1-51:7.9p1-5
Debian:8opensshbefore 1:6.7p1-5+deb8u81:6.7p1-5+deb8u8
Debian:9opensshbefore 1:7.4p1-10+deb9u51:7.4p1-10+deb9u5
openSUSE:Leap 15.0opensshbefore 7.6p1-lp150.8.9.17.6p1-lp150.8.9.1
openSUSE:Tumbleweedopensshbefore 8.4p1-7.48.4p1-7.4
Red Hat:enterprise_linux:8::appstreamopenssh-askpassbefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-askpass-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-cavs-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-clients-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-debugsourcebefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-keycat-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-ldap-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreamopenssh-server-debuginfobefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::appstreampam_ssh_agent_auth-debuginfobefore 0:0.10.3-7.3.el80:0.10.3-7.3.el8
Red Hat:enterprise_linux:8::baseosopensshbefore 0:8.0p1-3.el80:8.0p1-3.el8
Red Hat:enterprise_linux:8::baseosopenssh-cavsbefore 0:8.0p1-3.el80:8.0p1-3.el8

+14

Other highest-scoring records for the same primary product.

  • CVE-2026-123158sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass…KEV
    68This week
  • CVE-2023-38408The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if…
    63This week
  • CVE-2018-15473OpenSSH through 7.7 is prone to a user enumeration vulnerability due to not delaying bailout for an invalid authenticating user until after…
    60This week

Published before and after this one in the same product

  • ← EarlierCVE-2016-10708Jan 21, 2018 · sshd in OpenSSH before 7.4 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via an…
    35Monitor
  • ← EarlierCVE-2018-15919Aug 28, 2018 · Remotely observable behaviour in auth-gss2.c in OpenSSH through 7.8 could be used by remote attackers to detect existence of users on a…
    22Monitor
  • Later →CVE-2019-6109Jan 31, 2019 · An issue was discovered in OpenSSH 7.9.
    28Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:dropbear2019.78-r1 · Alpine:v3.10Package registry (OSV)
alpine:openssh7.9_p1-r3 · Alpine:v3.10Package registry (OSV)
debian:openssh1:7.9p1-5 · Debian:12Package registry (OSV)
opensuse:openssh7.6p1-lp150.8.9.1 · openSUSE:Leap 15.0Package registry (OSV)
red hat:openssh0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssh-askpass0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-askpass-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-cavs0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssh-cavs-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-clients-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-debugsource0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-keycat-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-ldap-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openssh-server-debuginfo0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:pam_ssh_agent_auth-debuginfo0:0.10.3-7.3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:openssh0:8.0p1-30.el8_10 · Rocky Linux:8Package registry (OSV)
suse:openssh6.6p1-54.26.1 · SUSE:Linux Enterprise Server 12-LTSSPackage registry (OSV)
suse:openssh-askpass-gnome6.6p1-54.26.1 · SUSE:Linux Enterprise Server 12-LTSSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records