@wong2/mcp-cli@1.12.0 vulnerabilities

A CLI inspector for the Model Context Protocol

Direct Vulnerabilities

Known vulnerabilities in the @wong2/mcp-cli package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • M
OS Command Injection

@wong2/mcp-cli is an A CLI inspector for the Model Context Protocol

Affected versions of this package are vulnerable to OS Command Injection via the redirectToAuthorization function in src/oauth/provider.js. Attackers can setup a MCP server with compatible OAuth authorization server endpoints and trick victims into connecting it, leading to OS command execution in vulnerable clients.

How to fix OS Command Injection?

A fix was pushed into the master branch but not yet published.

*