OpenBSD OpenSSH: Path Traversal (CVE-2019-6111)
Published Last modified Sources: CVE.org
What is affected, what to do
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.
An exploit is publicly available. The available sources name no fixed version. Check the vendor guidance in the references below.
Conflicting version data — version display is hidden until the data is resolved.
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
5.9
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
5.9
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: CVE.org
58.2 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.09
Show all metrics
- Severity
- Medium
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 108.05 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- PoC (publicly reported)
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 5.9 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 5.9
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 58.2 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.09
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
- CISA assessment (SSVC)
- Exploitation: proof of concept · not automatable · Technical impact: partial
- Source: CISA Vulnrichment, as of 18 December 2025
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-22
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
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).
Source: cvelistv5, NVD (NIST)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| apache | mina_sshd |
|
|
| openbsd | openssh |
|
|
| winscp | winscp |
|
|
Vendors and products
- Apache Software Foundation Apache MINA SSHD
- Canonical Canonical Ubuntu Linux
- Debian Debian Linux
- Fedora Project Infrastructure Fedora
- FreeBSD FreeBSD
- Fujitsu M10-1 Firmware
- Fujitsu M10-4 Firmware
- Fujitsu M10-4s Firmware
- Fujitsu M12-1 Firmware
- Fujitsu M12-2 Firmware
- Fujitsu M12-2s Firmware
- OpenBSD OpenBSD OpenSSH
Affected operating systems
| BSD | freebsd | freebsd | 12.0 |
| BSD | freebsd | freebsd | — |
| Linux | debian | debian_linux | 8.0 |
| Linux | debian | debian_linux | 9.0 |
| Linux | redhat | enterprise_linux | 7.0 |
| Linux | redhat | enterprise_linux | 8.0 |
| Linux | redhat | enterprise_linux_eus | 8.1 |
| Linux | redhat | enterprise_linux_eus | 8.2 |
| Linux | redhat | enterprise_linux_eus | 8.4 |
| Linux | redhat | enterprise_linux_eus | 8.6 |
| Linux | redhat | enterprise_linux_server_aus | 8.2 |
| Linux | redhat | enterprise_linux_server_aus | 8.4 |
| Linux | redhat | enterprise_linux_server_aus | 8.6 |
| Linux | redhat | enterprise_linux_server_tus | 8.2 |
| Linux | redhat | enterprise_linux_server_tus | 8.4 |
| Linux | redhat | enterprise_linux_server_tus | 8.6 |
| Linux | canonical | ubuntu_linux | 14.04 |
| Linux | canonical | ubuntu_linux | 16.04 |
| Linux | canonical | ubuntu_linux | 18.04 |
| Linux | canonical | ubuntu_linux | 18.10 |
| Other | fedoraproject | fedora | 30 |
| Other | fujitsu | m10-1_firmware | — |
| Other | fujitsu | m10-4_firmware | — |
| Other | fujitsu | m10-4s_firmware | — |
Weakness classes (CWE)
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Base
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Entry at MITRE CWE-22
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| Exploit-DB | EDB-ID 46193 (opens in a new tab)exploit-db.com | PoC (publicly reported)reported, not verified | — |
References & sources
- debian.orgDSA-4387Vendor advisory
- security.netapp.comadvisory/ntap-20190213-0001
- securityfocus.com106741Vulnerability database
- cvsweb.openbsd.orgsrc/usr.bin/ssh/scp.c
- usn.ubuntu.comUSN-3885-1Vendor advisory
- usn.ubuntu.comUSN-3885-2Vendor advisory
- bugzilla.redhat.comshow_bug.cgi?id=1677794
- sintonen.fiadvisories/scp-client-multiple-vulnerabilities.txt
- exploit-db.com46193Exploit
- security.gentoo.orgGLSA-201903-16Vendor advisory
- lists.debian.org[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security updateMailing list
- openwall.com[oss-security] 20190417 Announce: OpenSSH 8.0 releasedMailing list
- lists.fedoraproject.orgFEDORA-2019-0f4190cdb0Vendor advisory
- lists.apache.org[mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if soMailing list
- lists.apache.org[mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if soMailing list
- lists.apache.org[mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if soMailing list
- lists.opensuse.orgopenSUSE-SU-2019:1602Vendor advisory
- freebsd.orgFreeBSD-EN-19:10Vendor advisory
- lists.apache.org[mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if soMailing list
- oracle.comtechnetwork/security-advisory/cpuoct2019-5072832.html
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedMITRE
Show 64 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.htmlReference added —http://www.openwall.com/lists/oss-security/2019/04/18/1Reference added —http://www.openwall.com/lists/oss-security/2022/08/02/1Reference added —http://www.securityfocus.com/bid/106741Reference added —https://access.redhat.com/errata/RHSA-2019:3702Reference added —https://bugzilla.redhat.com/show_bug.cgi?id=1677794Reference added —https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfReference added —https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.cReference added —https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3EReference added —https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3EReference added —https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3EReference added —https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3EReference added —https://lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlReference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/Reference added —https://security.gentoo.org/glsa/201903-16Reference added —https://security.netapp.com/advisory/ntap-20190213-0001/Reference added —https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtReference added —https://usn.ubuntu.com/3885-1/Reference added —https://usn.ubuntu.com/3885-2/Reference added —https://www.debian.org/security/2019/dsa-4387Reference added —https://www.exploit-db.com/exploits/46193/Reference added —https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.ascReference added —https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlReference removed http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html—Reference removed http://www.openwall.com/lists/oss-security/2019/04/18/1—Reference removed http://www.openwall.com/lists/oss-security/2022/08/02/1—Reference removed http://www.securityfocus.com/bid/106741—Reference removed https://access.redhat.com/errata/RHSA-2019:3702—Reference removed https://bugzilla.redhat.com/show_bug.cgi?id=1677794—Reference removed https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf—Reference removed https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c—Reference removed https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/—Reference removed https://security.gentoo.org/glsa/201903-16—Reference removed https://security.netapp.com/advisory/ntap-20190213-0001/—Reference removed https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt—Reference removed https://usn.ubuntu.com/3885-1/—Reference removed https://usn.ubuntu.com/3885-2/—Reference removed https://www.debian.org/security/2019/dsa-4387—Reference removed https://www.exploit-db.com/exploits/46193/—Reference removed https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc—Reference removed https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html—Reference type removed http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html Types: Broken Link—Reference type removed http://www.openwall.com/lists/oss-security/2019/04/18/1 Types: Mailing List, Third Party Advisory—Reference type removed http://www.openwall.com/lists/oss-security/2022/08/02/1 Types: Mailing List, Third Party Advisory—Reference type removed http://www.securityfocus.com/bid/106741 Types: Broken Link, Third Party Advisory, VDB Entry—Reference type removed https://access.redhat.com/errata/RHSA-2019:3702 Types: Third Party Advisory—Reference type removed https://bugzilla.redhat.com/show_bug.cgi?id=1677794 Types: Exploit, Issue Tracking, Third Party Advisory—Reference type removed https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf Types: Third Party Advisory—Reference type removed https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c Types: Release Notes—Reference type removed https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html Types: Mailing List, Third Party Advisory—Reference type removed https://security.gentoo.org/glsa/201903-16 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20190213-0001/ Types: Third Party Advisory—Reference type removed https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt Types: Third Party Advisory—Reference type removed https://usn.ubuntu.com/3885-1/ Types: Third Party Advisory—Reference type removed https://usn.ubuntu.com/3885-2/ Types: Third Party Advisory—Reference type removed https://www.debian.org/security/2019/dsa-4387 Types: Third Party Advisory—Reference type removed https://www.exploit-db.com/exploits/46193/ Types: Exploit, Third Party Advisory, VDB Entry—Reference type removed https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc Types: Third Party Advisory—Reference type removed https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html Types: Patch, Third Party Advisory—Source identifier: cve@mitre.org
Record modifiedCVE Program
Show 64 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.htmlReference added —http://www.openwall.com/lists/oss-security/2019/04/18/1Reference added —http://www.openwall.com/lists/oss-security/2022/08/02/1Reference added —http://www.securityfocus.com/bid/106741Reference added —https://access.redhat.com/errata/RHSA-2019:3702Reference added —https://bugzilla.redhat.com/show_bug.cgi?id=1677794Reference added —https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdfReference added —https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.cReference added —https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3EReference added —https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3EReference added —https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3EReference added —https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3EReference added —https://lists.debian.org/debian-lts-announce/2019/03/msg00030.htmlReference added —https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/Reference added —https://security.gentoo.org/glsa/201903-16Reference added —https://security.netapp.com/advisory/ntap-20190213-0001/Reference added —https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtReference added —https://usn.ubuntu.com/3885-1/Reference added —https://usn.ubuntu.com/3885-2/Reference added —https://www.debian.org/security/2019/dsa-4387Reference added —https://www.exploit-db.com/exploits/46193/Reference added —https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.ascReference added —https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlReference removed http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html—Reference removed http://www.openwall.com/lists/oss-security/2019/04/18/1—Reference removed http://www.openwall.com/lists/oss-security/2022/08/02/1—Reference removed http://www.securityfocus.com/bid/106741—Reference removed https://access.redhat.com/errata/RHSA-2019:3702—Reference removed https://bugzilla.redhat.com/show_bug.cgi?id=1677794—Reference removed https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf—Reference removed https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c—Reference removed https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E—Reference removed https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html—Reference removed https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/—Reference removed https://security.gentoo.org/glsa/201903-16—Reference removed https://security.netapp.com/advisory/ntap-20190213-0001/—Reference removed https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt—Reference removed https://usn.ubuntu.com/3885-1/—Reference removed https://usn.ubuntu.com/3885-2/—Reference removed https://www.debian.org/security/2019/dsa-4387—Reference removed https://www.exploit-db.com/exploits/46193/—Reference removed https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc—Reference removed https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html—Reference type removed http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html Types: Broken Link—Reference type removed http://www.openwall.com/lists/oss-security/2019/04/18/1 Types: Mailing List, Third Party Advisory—Reference type removed http://www.openwall.com/lists/oss-security/2022/08/02/1 Types: Mailing List, Third Party Advisory—Reference type removed http://www.securityfocus.com/bid/106741 Types: Broken Link, Third Party Advisory, VDB Entry—Reference type removed https://access.redhat.com/errata/RHSA-2019:3702 Types: Third Party Advisory—Reference type removed https://bugzilla.redhat.com/show_bug.cgi?id=1677794 Types: Exploit, Issue Tracking, Third Party Advisory—Reference type removed https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf Types: Third Party Advisory—Reference type removed https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c Types: Release Notes—Reference type removed https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html Types: Mailing List, Third Party Advisory—Reference type removed https://security.gentoo.org/glsa/201903-16 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20190213-0001/ Types: Third Party Advisory—Reference type removed https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt Types: Third Party Advisory—Reference type removed https://usn.ubuntu.com/3885-1/ Types: Third Party Advisory—Reference type removed https://usn.ubuntu.com/3885-2/ Types: Third Party Advisory—Reference type removed https://www.debian.org/security/2019/dsa-4387 Types: Third Party Advisory—Reference type removed https://www.exploit-db.com/exploits/46193/ Types: Exploit, Third Party Advisory, VDB Entry—Reference type removed https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc Types: Third Party Advisory—Reference type removed https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html Types: Patch, Third Party Advisory—Source identifier: af854a3a-2127-422b-91ae-364da2661108
Record modifiedSiemens ADP
Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2019/6xxx/CVE-2019-6111.json">CVE-2019-6111</a>Reference added —https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-412672.htmlSource identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2019-6111"><img src="https://intel.neosec.eu/badge/cve/CVE-2019-6111.svg?lang=en" alt="CVE-2019-6111 – NEOSEC Intel" height="20"></a>