Your RSA-2048 keys break in 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
Jul 10, 2023
Updated
Aug 12, 2026
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Sep 22, 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 CVEs69th percentile — riskier than 69% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

How urgent is this, really

CVE-2023-35887 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.

Where this sits among everything scored

Of 378,156 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.

Real-World Exposure

3 pkgs affected
org.apache.sshd:sshd-commonorg.apache.sshd:sshd-sftporg.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-common2.1.0&&< 2.9.32.9.3org.apache.sshd:sshd-common:2.9.3
Mavenorg.apache.sshd:sshd-sftp1.0.0&&< 2.9.32.9.3org.apache.sshd:sshd-sftp:2.9.3
Mavenorg.apache.sshd:sshd-core1.0.0&&< 2.1.02.1.0org.apache.sshd:sshd-core:2.1.0

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

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2023-35887 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2023-35887. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

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.9.Finalorg.apache.sshd/sshd-common:2.10.0.redhat-00002RHSA-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?

O3 Security finds CVE-2023-35887 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2023-35887: sshd-common (Medium 5) | O3 Security