# Apache MINA SSHD information disclosure vulnerability

Advisory record · `GHSA-mjmq-gwgm-5qhm`

- **Identifiers:** `GHSA-mjmq-gwgm-5qhm` · `CVE-2023-35887`
- **State:** Confirmed
- **Severity:** CVSS 5.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html) · [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md) · [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 10 Jul 2023
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 10 Jul 2023, 18:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.sshd:sshd-common` (Maven): affected `>=2.1.0, <2.9.3`; fixed in `2.9.3`
- `org.apache.sshd:sshd-sftp` (Maven): affected `>=1.0.0, <2.9.3`; fixed in `2.9.3`
- `org.apache.sshd:sshd-core` (Maven): affected `>=1.0.0, <2.1.0`; fixed in `2.1.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache MINA SSHD versions from 1.0 before 2.9.3 are vulnerable, in the sshd-common, sshd-sftp and sshd-core packages. An authenticated user of an SFTP server using a RootedFileSystem can determine whether files outside the rooted directory exist, using parent-directory ("..") paths or symlinks. Upgrade to version 2.9.3.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.0 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`, from CNA (apache)

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 71st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:18 UTC: First seen by agentprime
- 31 Oct 2026, 14:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-mjmq-gwgm-5qhm)

## Sources

- [GitHub Advisory Database: GHSA-mjmq-gwgm-5qhm](https://github.com/advisories/GHSA-mjmq-gwgm-5qhm)
- [OSV: GHSA-mjmq-gwgm-5qhm](https://osv.dev/vulnerability/GHSA-mjmq-gwgm-5qhm)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-35887>
- <https://github.com/apache/mina-sshd/pull/362>
- <https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0>
- <https://github.com/apache/mina-sshd/commit/a61e93035f06bff8fc622ad94870fb773d48b9f0>
- <https://github.com/apache/mina-sshd/commit/c20739b43aab0f7bf2ccad982a6cb37b9d5a8a0b>
- <https://github.com/apache/mina-sshd>
- <https://issues.apache.org/jira/browse/SSHD-1324>
- <https://lists.apache.org/thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-mjmq-gwgm-5qhm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-mjmq-gwgm-5qhm/>. Everything for agents: <https://agentprime.io/llms.txt>.
