9Router is an AI router & token saver. Prior to 0.5.2, 9Router allows a remote authenticated attacker to achieve arbitrary code execution on the host operating system by combining a Host header bypass of localhost-only routes with unvalidated MCP plugin args passed to child_process.spawn(), allowing malicious custom plugins to execute commands through /api/mcp//sse. This issue is fixed in version 0.5.2.
https://github.com/decolua/9router/security/advisories/GHSA-63p9-g54h-prrp
https://github.com/decolua/9router/releases/tag/v0.5.2
https://github.com/decolua/9router/commit/da667836cc7584bea0edd893de1d590c9ea279dc