Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish SCP session as sender
-
DeliveryCraft C/D command with traversal filename
-
ExploitSend file with '../' path
-
ExecutionReceiver writes to attacker-controlled location
-
ImpactOverwrite trusted file or drop payload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application uses the sshd-scp SCP receive functionality of Apache MINA SSHD (an SSHD server accepting SCP uploads, or an SCP client downloading from a server) on an affected version (<2.0.0, or >=2.0.0 with sshd-scp in use). The attacker must be the SCP sender - meaning in a server-receive deployment they generally hold an authenticated SSH session permitted to run SCP, and in a client-receive deployment the victim must connect to an attacker-controlled/compromised server. Applications on 2.0.0+ that do not include or use sshd-scp are not affected, and SFTP-only deployments are not affected; these are the primary limiting factors that reduce real-world exposure below what the AV:N/PR:N vector alone suggests. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, base 7.5) reflects a network-reachable, low-complexity integrity-only impact with no confidentiality or availability loss, which matches a file-write primitive well. However, the PR:N (unauthenticated) metric warrants scrutiny: SCP runs over an authenticated SSH session, so in a server-receive scenario the malicious sender is typically an authenticated user, while in a client-receive scenario the 'attacker' is the remote server the victim client chose to connect to - in neither case is exploitation truly pre-auth in the usual sense, so the practical privilege requirement is often higher than PR:N implies. No EPSS score, SSVC decision, KEV entry, or POC was provided; absence of these signals plus integrity-only impact suggests this is a meaningful hardening priority for anyone running SCP receivers, but not an emergency mass-exploitation event. The real danger escalates where the written path can reach executable or trusted locations (e.g., web roots, cron, authorized_keys), which can turn a file write into code execution. |
| Exploit ScenarioDerived | A victim application uses Apache MINA SSHD's sshd-scp to receive an upload (or an operator uses an embedded SCP client to pull files from a server). A malicious sender crafts an SCP 'C' command whose filename is a traversal path such as '../../../home/app/.ssh/authorized_keys' or a path into a web root, causing MINA SSHD to write the attacker's content outside the intended directory. Given AV:N/AC:L, this requires only a single crafted SCP transfer with no special timing or user interaction; no public POC was provided. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 20, 2026
Arbitrary file write in Apache MINA SSHD's sshd-scp component lets a malicious SCP sender place files outside the intended download directory because filenames in SCP 'C' (file) and 'D' (directory) commands are not validated for path separators. Any application acting as an SCP receiver - either an SSHD server accepting uploads or an SCP client fetching from a server - using unsupported versions <2.0.0 or the sshd-scp module in >=2.0.0 is affected, allowing an attacker to overwrite or plant files in attacker-chosen locations. Reported by Apache; no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to Apache MINA SSHD 2.19.0 (2.x branch) or 3.0.0-M5 (3.x milestone) as directed by the Apache advisory at https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no; this is the primary and recommended action, and it removes support for the vulnerable pre-2.0.0 line entirely. If you cannot upgrade immediately and you operate an SCP receiver, disable or remove the sshd-scp module and rely on SFTP instead, since SFTP is not affected - the trade-off is that legacy SCP clients will stop working. As a compensating control for embedded receivers, run the receiving process under a low-privilege account chrooted or confined to a dedicated directory and validate/normalize incoming filenames (reject any name containing '/' or '..') before writing, accepting that custom validation is error-prone compared to the official fix. For client use, avoid SCP-fetching files from untrusted or unauthenticated servers.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache MINA SSHD is a pure-Java SSH library used to embed client and server SSH functionality into JVM applications, and its optional sshd-scp module implements the legacy SCP (secure copy) protocol layered over SSH. In SCP, the sending peer transmits control messages beginning with 'C' (a regular file, with mode, length, and name) and 'D' (a directory), and the receiver is expected to treat the name as a single path component within the current target directory. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal): the receive implementation trusted the sender-supplied filename verbatim, so names containing '/' or '../' sequences caused writes to be resolved outside the destination. The affected component is identified by CPE cpe:2.3:a:apache_software_foundation:apache_mina_sshd, and the flaw is specific to the SCP receive code path rather than the core transport or SFTP.
Know when Apache Mina Sshd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Network SCP over an authenticated SSH session implies PR:L rather than PR:N; low complexity, integrity-only file-write so C:N/A:N and I:H.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH.
The implementation of receiving files or directories via SCP did not validate filenames in SCP "C" or "D" commands. A malicious sender could send filenames containing paths, resulting in files to be written in attacker-controlled places.
The issue affects only
- applications that use no longer supported Apache MINA SSHD versions < 2.0.0 and use the SCP functions to receive files,
- or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files.
Applications using Apache MINA SSHD >= 2.0.0 not using sshd-scp are not affected.
The issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.
Articles & Coverage 4
Executive ViewAI
Apache MINA SSHD's sshd-scp component (versions <2.0.0 and the module in ≥2.0.0) contains an arbitrary file write vulnerability allowing SCP senders to bypass directory restrictions and place files in attacker-chosen system locations. No public exploit identified at time of analysis. Organizations using this component for file transfers face risks of data corruption, system file overwrites, and malware injection.
No vendor-released patch identified at time of analysis. Implement: (1) strict validation of SCP filenames to reject path separators and relative path sequences, (2) execution of SCP services in isolated environments with restricted file system access, (3) file transfer monitoring and alerting for out-of-directory write attempts, (4) network-level restriction of SCP access to approved senders only, and (5) evaluation of alternative secure file transfer protocols (SFTP, rsync) with enforced path validation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Apache Mina Sshd
View allCommand-restriction bypass in Apache MINA SSHD (server-side) lets a user who authenticates with an OpenSSH user certific
Path traversal in Apache MINA SSHD's sshd-git component lets an authenticated remote user on Windows-hosted git servers
Improper input validation in the sshd-git component of Apache MINA SSHD lets authenticated SSH clients write arbitrary f
Arbitrary file write in Apache MINA SSHD's sshd-git component enables any SSH-authenticated user to write files to arbit
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-46099
GHSA-2vf2-jm4x-2gj4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB