Skip to main content

Apache MINA SSHD EUVDEUVD-2026-46099

| CVE-2026-56452 HIGH
Path Traversal (CWE-22)
2026-07-20 apache GHSA-2vf2-jm4x-2gj4
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish SCP session as sender
  2. Delivery
    Craft C/D command with traversal filename
  3. Exploit
    Send file with '../' path
  4. Execution
    Receiver writes to attacker-controlled location
  5. Impact
    Overwrite 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Mina SSHD 0 ≤2.18.0
Apache Mina SSHD 3.0.0-M1 ≤3.0.0-M4

Affected Packages

euvd apache_mina_sshd no fix

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

Vendor (apache) PRIMARY 7.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 20, 2026 - 21:22 NVD
MEDIUM HIGH
CVSS changed
Jul 20, 2026 - 21:22 NVD
7.5 (MEDIUM) 7.5 (HIGH)
CVE Published
Jul 20, 2026 - 20:26 cve.org
HIGH 7.5

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Medium
widely-used Java SSH library, but only SCP-receiving apps are affected
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy