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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-32306 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 10 Oct 2025 16:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:motioneye_project:motioneye:0.42.1:*:*:*:*:*:*:*
cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta1:*:*:*:*:*:*
cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta2:*:*:*:*:*:*
cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta3:*:*:*:*:*:*
cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta4:*:*:*:*:*:*

Mon, 06 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Motioneye Project
Motioneye Project motioneye
Vendors & Products Motioneye Project
Motioneye Project motioneye

Fri, 03 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-116
CWE-20
CWE-78
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 03 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-10-03T15:00:19.853Z

Reserved: 2025-09-26T00:00:00.000Z

Link: CVE-2025-60787

cve-icon Vulnrichment

Updated: 2025-10-03T14:58:53.269Z

cve-icon NVD

Status : Analyzed

Published: 2025-10-03T16:16:20.293

Modified: 2025-10-10T16:22:30.703

Link: CVE-2025-60787

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-10-06T14:42:47Z