Vulnerability · Published Oct 3, 2025 · Assigned by mitre

CVE-2025-60787

High 7.2

In plain English

A high-severity improper input validation in the motioneye package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 18.5% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)18.5%top 2.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, Public PoC

Official description

MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name. Unsanitized user input is written to Motion configuration files, allowing remote authenticated attackers with admin access to achieve code execution when Motion is restarted.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPImotioneye0.43.1b5GHSA-j945-qm58-4gjx
PyPImotioneye0.43.1b5PYSEC-2026-1680

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-20, CWE-78, CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References