Path traversal in the sshd-scp component of Apache MINA SSHD. (CVE-2026-56452)
Description
A path traversal vulnerability exists in the sshd-scp component of Apache MINA SSHD, a Java library for SSH. The flaw allows a malicious sender to craft filenames with paths in SCP 'C' or 'D' commands, causing files to be written to attacker-controlled locations. This affects applications using unsupported Apache MINA SSHD versions prior to 2.0.0 with SCP receive functionality, and those using sshd-scp in versions 2.0.0 and later. The issue is fixed in Apache MINA versions 2.19.0 and 3.0.0-M5. Users are advised to upgrade to these versions to mitigate the risk.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/mina?arch=source&distro=xenialpkg:deb/ubuntu/mina2?arch=source&distro=xenialpkg:deb/ubuntu/mina?arch=source&distro=bionicpkg:deb/ubuntu/mina2?arch=source&distro=bionicpkg:deb/ubuntu/mina?arch=source&distro=focalpkg:deb/ubuntu/mina2?arch=source&distro=focalpkg:deb/ubuntu/mina?arch=source&distro=jammypkg:deb/ubuntu/mina2?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/mina?arch=source&distro=noblepkg:deb/ubuntu/mina2?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/mina2?arch=source&distro=stonkingpkg:deb/ubuntu/mina2?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-56452) in Apache MINA SSHD's sshd-scp component arises from insufficient validation of filenames in SCP 'C' or 'D' commands during file reception. This allows a malicious sender to perform path traversal by including directory paths in filenames, resulting in files being written outside the intended directories. The flaw affects applications using unsupported Apache MINA SSHD versions earlier than 2.0.0 that utilize SCP receive functions, as well as applications using sshd-scp in versions 2.0.0 and later. Applications using Apache MINA SSHD 2.0.0 or later but not using sshd-scp are not affected. The vulnerability is addressed in Apache MINA SSHD versions 2.19.0 and 3.0.0-M5.
Potential Impact
An attacker can exploit this vulnerability to write files to arbitrary locations on the target system by sending specially crafted SCP commands with path traversal sequences. This can lead to unauthorized file overwrite or placement, potentially impacting the integrity of the system or application data. The CVSS 3.1 score is 7.5 (medium severity), indicating a significant impact on integrity without requiring privileges or user interaction.
Mitigation Recommendations
A fix is available in Apache MINA SSHD versions 2.19.0 and 3.0.0-M5. Affected users should upgrade to these versions to remediate the vulnerability. Applications using unsupported versions prior to 2.0.0 that use SCP receive functionality should upgrade to a supported fixed version. No other mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-56452
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad3f5e92cdf04f6566634e6
Added to database: 10/17/2026, 22:25:45 UTC
Last enriched: 10/18/2026, 00:36:22 UTC
Last updated: 10/18/2026, 00:36:22 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.