Every CVE Search/ Get API key

CVE-2026-56452

Apache MINA SSHD: Path traversal in SCP file reception

7.5 High

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.77%Up 0.4 points since Jul 21, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.5

Apache MINA SSHD: Path traversal in SCP file reception

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.

Record
CVE-2026-56452
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22, CWE-73
Updated
2026-11-02
EUVDEUVD-2026-46099 7.5

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.

Record
EUVD-2026-46099
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-2vf2-jm4x-2gj4 7.5

Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library...

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.

Record
GHSA-2vf2-jm4x-2gj4
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
NVD 7.5

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.

Record
CVE-2026-56452
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22, CWE-73
Updated
2026-11-02
OSV 7.5

Apache MINA SSHD: Path traversal in SCP file reception

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.

Record
CVE-2026-56452
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22, CWE-73
Updated
2026-11-02
OSVDEBIAN-CVE-2026-56452 7.5

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.

Record
DEBIAN-CVE-2026-56452
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2026-56452 7.5

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.

Record
UBUNTU-CVE-2026-56452
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVopenSUSE-SU-2026:11327-1 No score

apache-sshd-2.19.0-2.1 on GA media

These are all security issues fixed in the apache-sshd-2.19.0-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11327-1
Updated
2026-11-02
OSVSUSE-SU-2026:3339-1 No score

Security update for apache-sshd

This update for apache-sshd fixes the following issues:

Update to upstream version 2.19.0.

Security issues fixed:

  • CVE-2026-56452: remote users can use SCP to send filenames that lead to arbitrary file writes due to a path traversal issue in the sshd-scp component of Apache MINA SSHD. (bsc#1272158).
  • CVE-2026-56623: remote users can obtain access to git repositories outside of the configured server-side root directory on Windows systems due to path traversal issue in org.apache.sshd:sshd-git (bsc#1271993).
  • CVE-2026-56624: users can authenticate with certificates containing the force-command option but still execute other commands due to improper validation of certificate options in Apache MINA SSHD (bsc#1271992).
  • CVE-2026-58624: remote execution of JGit commands can lead to arbitrary file writes due to improper input validation in sshd-git of Apache MINA SSHD (bsc#1271991).

Other updates and bugfixes:

  • Version 2.19.0:
    • Bug Fixes
      • GH-899 Fix ProcessShellFactory on Linux.
      • GH-902 Fix client-side handling of sk-* public key signatures (also in the agent interfaces).
      • Limit size of decompressed SSH packets.
      • Improve checking SSH user certificates in public-key authentication.
      • Improve handling of repository paths in sshd-git on Windows.
      • Validate file names in SCP.
      • Escape newlines in filenames in the SCP protocol.
      • Restrict JGit commands accessible via GitPgmCommandFactory in sshd-git.
Record
SUSE-SU-2026:3339-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libmina-sshd-java
Debian:13
All versions, plus listed versions
2.13.2-22.13.2-3
None known
libmina-sshd-java
Debian:14
All versions, plus listed versions
2.13.2-22.13.2-3
None known
apache-sshd
SUSE:Linux Enterprise Module for Development Tools 15 SP7
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise Server 15 SP5-LTSS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise Server 15 SP6-LTSS
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
Show 16 moreShow less
Affected packages
PackageAffectedFixed
apache-sshd
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
apache-sshd
SUSE:Linux Enterprise Server for SAP Applications 15 SP6
From an advisory covering 4 CVEs
before 2.19.0-150200.5.16.1
2.19.0-150200.5.16.1
mina
Ubuntu:16.04:LTS
All versions, plus listed versions
1.1.7.dfsg-11
None known
mina2
Ubuntu:16.04:LTS
All versions, plus listed versions
2.0.7+dfsg-22.0.9-12.0.9-2
None known
mina
Ubuntu:18.04:LTS
All versions, plus listed versions
1.1.7.dfsg-111.1.7.dfsg-12
None known
mina2
Ubuntu:18.04:LTS
All versions, plus listed versions
2.0.16-2
None known
mina
Ubuntu:20.04:LTS
All versions, plus listed versions
1.1.7.dfsg-13
None known
mina2
Ubuntu:20.04:LTS
All versions, plus listed versions
2.0.19-2
None known
mina
Ubuntu:22.04:LTS
All versions, plus listed versions
1.1.7.dfsg-13
None known
mina2
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
2.1.4-22.1.5-12.1.5-1ubuntu0.1~esm1
None known
mina
Ubuntu:24.04:LTS
All versions, plus listed versions
1.1.7.dfsg-131.1.7.dfsg-13ubuntu1
None known
mina2
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2.2.1-32.2.1-3ubuntu0.1~esm1
None known
mina2
Ubuntu:26.10
All versions, plus listed versions
2.2.1-42.2.1-4ubuntu12.2.9-1
None known
mina2
Ubuntu:Pro:26.04:LTS
All versions, plus listed versions
2.2.1-42.2.1-4ubuntu0.1~esm1
None known
apache-sshd
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 2.19.0-2.1
2.19.0-2.1

History

History
RecordedChangedSources
affected, facts
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-56452 is a high vulnerability (CVSS 7.5) in Apache Mina Sshd, published July 20, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.77%, the 55th percentile. No source names a fixed version.

References

Show 12 moreShow less
MoveEnter Open