CVE-2018-20685
OpenSSH · 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 . or an empty filename. The impact is modifying the permissions of the target directory on the client side.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.681% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.3 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T16:01:49.742Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | verified | 2026-11-19T16:01:49.742Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:25.255Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:01:49.742Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:00:30.446Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:00:30.446Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "openssh",
"debian": "https://tracker.debian.org/pkg/openssh",
"source": "https://ubuntu.com/security/cve?package=openssh",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=openssh",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "hirsute"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "kinetic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.6p1-4ubuntu0.2",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.7p1-4ubuntu0.2",
"release_codename": "cosmic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "disco"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "eoan"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "groovy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "impish"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "lunar"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:6.6p1-2ubuntu2.12",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.2p2-4ubuntu2.7",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "mantic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:7.9p1-5",
"release_codename": "oracular"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2018-20685",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:7.9p1-5"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-20685.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"upstream": [
"CVE-2018-20685"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2018-20685",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2018-20685",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:7.9p1-5"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-20685.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"upstream": [
"CVE-2018-20685"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2018-20685",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://www.debian.org/security/2019/dsa-4387",
"name": "DSA-4387",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://usn.ubuntu.com/3885-1/",
"name": "USN-3885-1",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2",
"tags": [
"x_transferred"
]
},
{
"url": "https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20190215-0001/",
"tags": [
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/106531",
"name": "106531",
"tags": [
"vdb-entry",
"x_transferred"
]
},
{
"url": "https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/201903-16",
"name": "GLSA-201903-16",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html",
"name": "[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:3702",
"name": "RHSA-2019:3702",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202007-53",
"name": "GLSA-202007-53",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T12:05:17.712Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2018-20685",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-12-17T21:53:24.729008Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-863",
"description": "CWE-863 Incorrect Authorization"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-12-17T21:53:56.287Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / hirsute | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / jammy | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / kinetic | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / bionic | openssh | security | 1:7.6p1-4ubuntu0.2 | Official record |
| distribution-package | Ubuntu / cosmic | openssh | security | 1:7.7p1-4ubuntu0.2 | Official record |
| distribution-package | Ubuntu / disco | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / eoan | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / focal | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / groovy | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / impish | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / lunar | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / trusty | openssh | security | 1:6.6p1-2ubuntu2.12 | Official record |
| upstream-note | upstream / upstream | openssh | Not a distribution channel | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / xenial | openssh | security | 1:7.2p2-4ubuntu2.7 | Official record |
| distribution-package | Ubuntu / mantic | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / noble | openssh | security | 1:7.9p1-5 | Official record |
| distribution-package | Ubuntu / oracular | openssh | security | 1:7.9p1-5 | Official record |
| ecosystem-boundary | Debian:13 / 13 | openssh | unknown | 1:7.9p1-5 | Official record |
| ecosystem-boundary | Debian:12 / 12 | openssh | unknown | 1:7.9p1-5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:00:30.446ZArchived source JSON
Source publication: 2019-01-10T00:00:00.000Z
Source modification: 2025-12-17T21:53:56.287ZDocument fingerprint
25ee747d1c24f79d9ee770224c738142e51afdc49314bfa676d5f731e40af573 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:03.693ZArchived source JSON
Source publication: 2019-01-10T21:29:00.377Z
Source modification: 2026-10-23T18:03:05.377ZDocument fingerprint
11dc0b1f1a2471d583ba1b50c54472560fb669e8ec3704d3eb72ebc23f651bc7 - OSVConsulted: 2026-11-19T12:52:06.864ZArchived source JSON
Source publication: 2019-01-10T21:29:00.377Z
Source modification: 2026-10-23T18:03:05.377ZDocument fingerprint
3d30b8f3166adef0e15e4ff42edec687db3ebb2fccb3669efc9d4a7ac0be5c28 - Ubuntu SecurityConsulted: 2026-11-19T16:01:49.742ZArchived source JSON
Source publication: 2019-01-10T00:00:00.000Z
Source modification: 2025-08-25T22:53:02.610ZDocument fingerprint
b3d32723c4af4c3bdc9c7ccdbd4190b264024cfc931b55b89ad58f5d2d63c4da - FIRST EPSSConsulted: 2026-11-19T16:04:25.255ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3667369af43a2e08c587b7e227e51782fd94fb781bcb3d5d75d036fed21180aa
Official status history
- UNKNOWN → PUBLISHED · · evidence