CVE-2026-77931 Details
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.
A command injection vulnerability has been identified in MoviePilot versions through 3.1.5. This vulnerability allows attackers to execute arbitrary operating system commands by embedding malicious instructions in untrusted content. This content is processed through various tools, such as 'browse_webpage', 'search_web', and torrent metadata parsers. The injected commands are then passed to the ExecuteCommandTool, which is unrestricted, via 'asyncio.create_subprocess_shell'. Exploitation involves crafting content that prompts the model to execute commands with the 'confirm_dangerous' flag enabled, bypassing the built-in command safety validation. The vulnerability takes advantage of the administrative context to achieve remote code execution on the host system.
It is recommended to make the 'execute_command', 'write_file', and 'edit_file' tools opt-in and off by default. Additionally, any interaction that involves external content should be treated as potentially unsafe, requiring human confirmation before executing commands. Implementing a sandboxed execution environment that does not have root access or direct host mounts, instead of running commands through 'asyncio.create_subprocess_shell' on the host, is also advised. Finally, an allowlist or out-of-band confirmation mechanism should be used instead of a model-controllable 'confirm_dangerous' flag.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| jxxghp/MoviePilot | <= 3.1.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion