{"answers":{"affected":"2 open source packages ship an affected version, including mcp-ssh-tool.","exploited":"There is no known exploitation of GHSA-j7h9-2jh7-g967 in the wild and no public exploit code.","fix":"Upgrade mcp-ssh-tool to 2.1.1 or later.","what":"GHSA-j7h9-2jh7-g967 is a path traversal vulnerability in mcp-ssh-tool, published on 7 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-j7h9-2jh7-g967 and fix it if it is affected.\n\nWhat it is: GHSA-j7h9-2jh7-g967 is a path traversal vulnerability in mcp-ssh-tool, published on 7 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-j7h9-2jh7-g967 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mcp-ssh-tool (npm): affected all versions; fixed in 2.1.1\n- mcp-ssh-tool (npm): affected all versions; fixed in 2.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-j7h9-2jh7-g967/ (Markdown: https://insights.sbomify.com/GHSA-j7h9-2jh7-g967/index.md)","id":"GHSA-j7h9-2jh7-g967","markdown":"https://insights.sbomify.com/GHSA-j7h9-2jh7-g967/index.md","name":"GHSA-j7h9-2jh7-g967","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"MCP SSH tool","requires_auth":"low_privilege","summary":"Attackers can bypass file transfer path restrictions and exploit timing side channels in authentication, potentially accessing unauthorized files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## 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 \u003e= 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`.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"mcp-ssh-tool has file transfer path policy bypass and bearer token comparison hardening","id":"GHSA-j7h9-2jh7-g967","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"mcp-ssh-tool","purl":null,"source":"GHSA-j7h9-2jh7-g967"},{"ecosystem":"npm","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"mcp-ssh-tool","purl":"pkg:npm/mcp-ssh-tool","source":"GHSA-j7h9-2jh7-g967"}],"products":null,"published":"2026-05-07","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can bypass file transfer path restrictions and exploit timing side channels in authentication, potentially accessing unauthorized files.","url":"https://insights.sbomify.com/GHSA-j7h9-2jh7-g967/"}