@wong2/mcp-cli@1.2.1 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.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

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.

*