NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2023-35887 — sshd-common

MEDIUMFix: apache/mina-sshd#362

CVE-2023-35887 is a medium-severity (CVSS 5) Path Traversal vulnerability in org.apache.sshd:sshd-common. A fix is available for org.apache.sshd:sshd-common — see the affected versions and patch details below.

Apache MINA SSHD: Information disclosure bugs with RootedFilesystem

Also known asGHSA-mjmq-gwgm-5qhm
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-35887.

EPSS Exploitation Probability

via FIRST.org ↗
1.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs71th percentile — riskier than 71% of all scored CVEsHighest risk
0.00%0.60%1.21%1.81%0.1%1.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
☕org.apache.sshd:sshd-common☕org.apache.sshd:sshd-sftp☕org.apache.sshd:sshd-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA.

In SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover "exists/does not exist" information about items outside the rooted tree via paths including parent navigation ("..") beyond the root, or involving symlinks.

This issue affects Apache MINA: from 1.0 before 2.9.3 Users are recommended to upgrade to 2.9.3

Until version 2.1.0, some of the code affected by this vulnerability appeared in org.apache.sshd:sshd-core. Version 2.1.0 contains a commit where the code was moved to the package org.apache.sshd:sshd-common, which did not exist until version 2.1.0.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.sshd:sshd-common≥ 2.1.0&&< 2.9.32.9.3org.apache.sshd:sshd-common:2.9.3
☕Mavenorg.apache.sshd:sshd-sftp≥ 1.0.0&&< 2.9.32.9.3org.apache.sshd:sshd-sftp:2.9.3
☕Mavenorg.apache.sshd:sshd-core≥ 1.0.0&&< 2.1.02.1.0org.apache.sshd:sshd-core:2.1.0

Affected Products

1 product · 1 configurations
Application
sshdapache
≥ 1.0.0 && < 2.9.3
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.sshd:sshd-common, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.sshd:sshd-common to 2.9.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-35887 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
EAP 8.0.1sshd-commonRHSA-2024:1194
Red Hat build of Quarkus 2.13.9sshd-commonRHSA-2023:7700
Red Hat Data Grid 8.4.4apache-minaRHSA-2023:5396
Red Hat JBoss Enterprise Application Platformorg.apache.sshd/sshd-common:2.9.3.redhat-00001RHSA-2023:7641
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-undertow-0:2.2.28-1.SP1_redhat_00001.1.el8eapRHSA-2023:7638
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-undertow-0:2.2.28-1.SP1_redhat_00001.1.el9eapRHSA-2023:7639
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-undertow-0:2.2.28-1.SP1_redhat_00001.1.el7eapRHSA-2023:7637
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-apache-sshd-0:2.12.0-1.redhat_00001.1.el8eapRHSA-2024:1192

Frequently Asked Questions

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA. In SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover "exists/does not exist" information about items outside the rooted tree via paths including parent navigation ("..") beyond the root, or involving symlinks. This issue affects Apache MINA: from 1.0 before 2.9.3 Users are recommended to upgrade to 2.9.3 Until version 2.1.0, some of the code affected by this vulnerability appeared in org.apache.sshd:sshd-core. Ver
O3 Security · Impact-Aware SCA

Is CVE-2023-35887 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2023-35887: sshd-common — Fixed in 2.9.3