Command Injection Affecting motioneye package, versions [0.43.1b1,0.43.1b4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MOTIONEYE-10494106
  • published23 Jun 2025
  • disclosed14 May 2025
  • creditUnknown

Introduced: 14 May 2025

CVE-2025-47782  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade motioneye to version 0.43.1b4 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the add_camera API. An attacker with admin credentials can execute arbitrary commands within a non-interactive shell environment by constructing a malicious device path. This is only exploitable if the attacker has administrative access to the motionEye interface.

Workaround

This vulnerability can be mitigated by applying the patch manually.

CVSS Base Scores

version 4.0
version 3.1