mcp-ssh-tool has file transfer path policy bypass and bearer token comparison hardening
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-208.
Summary
## 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`.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | mcp-ssh-tool (npm) | before 2.1.1 | 2.1.1 | Patch available | GHSA-j7h9-2jh7-g967 |
- mcp-ssh-tool (npm) Vendor— Affected before 2.1.1 Fixed in 2.1.1 Patch available GHSA-j7h9-2jh7-g967
Remediation
- Fix · GHSA-j7h9-2jh7-g967 mcp-ssh-tool (npm) Fixed in 2.1.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-j7h9-2jh7-g967
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences