---
id: CVE-2026-77931
title: >-
  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, …
summary: >-
  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, …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:20:16.277'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77931'
references:
  - url: 'https://www.lasso.security/vulnerability-database/cve-2026-77931'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/moviepilot-command-injection-via-executecommandtool
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-15T03:30:12.928Z'
vendor: jxxghp
product: MoviePilot
affected:
  - MoviePilot <= 3.1.5
cwe:
  - CWE-1427
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
