GHSA-j7h9-2jh7-g967

Suggest an improvement
Source
https://github.com/advisories/GHSA-j7h9-2jh7-g967
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-j7h9-2jh7-g967/GHSA-j7h9-2jh7-g967.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j7h9-2jh7-g967
Published
2026-05-07T21:45:16Z
Modified
2026-05-21T05:15:08.446595569Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
mcp-ssh-tool has file transfer path policy bypass and bearer token comparison hardening
Details

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.

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.

Database specific
{
    "nvd_published_at": null,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-208",
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-07T21:45:16Z"
}
References

Affected packages

npm / mcp-ssh-tool

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-j7h9-2jh7-g967/GHSA-j7h9-2jh7-g967.json"
last_known_affected_version_range
"<= 2.1.0"