Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mcp-ssh-tool
  4. ›
  5. GHSA-j7h9-2jh7-g967

GHSA-j7h9-2jh7-g967: mcp-ssh-tool has file transfer path policy bypass and bearer token comparison hardening

May 7, 2026 (updated August 16, 2026)

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

References

  • github.com/advisories/GHSA-j7h9-2jh7-g967
  • github.com/oaslananka/mcp-ssh-tool/security/advisories/GHSA-j7h9-2jh7-g967

Code Behaviors & Features

Detect and mitigate GHSA-j7h9-2jh7-g967 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.1.1

Fixed versions

  • 2.1.1

Solution

Upgrade to version 2.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/mcp-ssh-tool/GHSA-j7h9-2jh7-g967.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.