🛡️ GHSA-j7h9-2jh7-g967 — mcp-ssh-tool

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-208 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

mcp-ssh-tool has file transfer path policy bypass and bearer token comparison hardening

Summary

mcp-ssh-tool has released version 2.1.1 with security hardening for transfer path authorization and HTTP bearer authentication.

The release addresses:

  • insufficient local path policy enforcement in transfer-related filesystem handling
  • incomplete canonicalization and segment-boundary handling for deny-prefix path policy checks
  • non-constant-time HTTP bearer token comparison

Impact

Affected versions may allow policy bypass in transfer path handling under specific configurations, and may expose a timing side channel in bearer-token comparison for HTTP deployments.

Patched Version

Upgrade to mcp-ssh-tool >= 2.1.1.

```bash

npm install -g mcp-ssh-tool@latest

```

Workarounds

For deployments that cannot immediately upgrade:

  • avoid exposing HTTP transport beyond loopback
  • use strict filesystem policy configuration
  • avoid granting MCP clients access to sensitive local transfer paths
  • monitor audit logs for unexpected transfer operations

Credits

Reported by dodge1218.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity high, availability none.

Weakness class

GHSA-j7h9-2jh7-g967 is classified as CWE-208: Observable Timing Discrepancy. Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.

Affected software

GHSA-j7h9-2jh7-g967 is recorded against 1 package.

  • mcp-ssh-tool

Timeline and source

Published on 7 May 2026 and last revised on 21 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CWE CWE-208
Public Exploit ✅ No
Source OSV
Published 2026-05-07
Updated 2026-08-20
Modified 2026-05-21
Fix URL N/A

Affected Packages

Software From version Fixed in
mcp-ssh-tool

Site Security Check

Is mcp-ssh-tool part of your stack?

GHSA-j7h9-2jh7-g967 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated