{"schema_version":"1.6.0","id":"GHSA-j7h9-2jh7-g967","modified":"2026-05-21T05:15:08.446595569Z","published":"2026-05-07T21:45:16Z","summary":"mcp-ssh-tool has file transfer path policy bypass and bearer token comparison hardening","details":"## Summary\n\n`mcp-ssh-tool` has released version `2.1.1` with security hardening for transfer path authorization and HTTP bearer authentication.\n\nThe release addresses:\n\n- insufficient local path policy enforcement in transfer-related filesystem handling\n- incomplete canonicalization and segment-boundary handling for deny-prefix path policy checks\n- non-constant-time HTTP bearer token comparison\n\n## Impact\n\nAffected 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.\n\n## Patched Version\n\nUpgrade to `mcp-ssh-tool >= 2.1.1`.\n\n```bash\nnpm install -g mcp-ssh-tool@latest\n```\n\n## Workarounds\n\nFor deployments that cannot immediately upgrade:\n\n- avoid exposing HTTP transport beyond loopback\n- use strict filesystem policy configuration\n- avoid granting MCP clients access to sensitive local transfer paths\n- monitor audit logs for unexpected transfer operations\n\n## Credits\n\nReported by `dodge1218`.","severity":[{"type":"CVSS_V4","score":"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"}],"affected":[{"package":{"ecosystem":"npm","name":"mcp-ssh-tool","purl":"pkg:npm/mcp-ssh-tool"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"references":[{"type":"WEB","url":"https://github.com/oaslananka/mcp-ssh-tool/security/advisories/GHSA-j7h9-2jh7-g967"},{"type":"PACKAGE","url":"https://github.com/oaslananka/mcp-ssh-tool"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j7h9-2jh7-g967"},{"type":"WEB","url":"https://threatdeck.net/mcp-servers/advisories/#GHSA-j7h9-2jh7-g967"}],"database_specific":{"threatdeck":{"scope":"server-package","severity":"high","servers_affected":[],"servers_with_package":["io-github-oaslananka-mcp-ssh-tool"],"upstream":["GHSA-j7h9-2jh7-g967"]},"source":"https://osv.dev/vulnerability/GHSA-j7h9-2jh7-g967"}}