Name of the Vulnerable Software and Affected Versions
AstrBot versions up to 4.22.1
Description
A command injection issue exists in AstrBotDevs AstrBot up to version 4.22.1. The `add mcp server` function within the `astrbot/dashboard/routes/tools.py` file, part of the MCP Endpoint component, is affected. Manipulation of the `command` argument can lead to remote command injection. The exploit has been publicly disclosed.
Recommendations
Versions prior to 4.22.1 are recommended.