MoviePilot 3.1.5 Command Injection via ExecuteCommandTool
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
MoviePilot through 3.1.5 contains a command injection vulnerability that allows attackers to execute arbitrary OS commands by embedding malicious instructions in untrusted content processed through tools like browse_webpage, search_web, and torrent metadata parsers, which then get passed to the unrestricted ExecuteCommandTool via asyncio.create_subprocess_shell. Attackers can craft content that instructs the model to invoke execute_command with confirm_dangerous set to true, bypassing the validate_command_safety denylist and exploiting the admin session's is_admin context to achieve remote code execution on the host.
Text from CVE List
Affected versions 1
- MoviePilotaffected: all versions through 3.1.5CVE List