CVE-2025-60787

HIGH
Published Oct 3, 2025 Modified Oct 10, 2025 CWE-20 CWE-78 CWE-116

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.

Is your site exposed to CVE-2025-60787?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.2
HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-20 Improper Input Validation
CWE-78 OS Command Injection
CWE-116 CWE-116

Affected Products

Vendor Product
motioneye_project motioneye
motioneye_project motioneye
motioneye_project motioneye
motioneye_project motioneye
motioneye_project motioneye

References

Frequently Asked Questions

What is CVE-2025-60787? +
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. It has a CVSS v3.1 base score of 7.2 (HIGH).
How severe is CVE-2025-60787? +
CVE-2025-60787 has a CVSS v3.1 score of 7.2 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-60787? +
CVE-2025-60787 affects products from motioneye_project, specifically: motioneye. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-60787? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-60787 — free, no signup required.