CVE-2025-60787
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.2
(v3.1)
Vulnerability status
Modified
Source identifier
Published
2025-10-03 16:16:20.293000
Last modified
2026-11-05 23:10:00.150000
View original CVE JSON
{
"id": "CVE-2025-60787",
"sourceIdentifier": "[email protected]",
"published": "2025-10-03T16:16:20.293",
"lastModified": "2026-11-05T23:10:00.150",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "MotionEye v0.43.1b4 y versiones anteriores es vulnerable a la inyección de comandos del sistema operativo en parámetros de configuración como image_file_name. La entrada de usuario no saneada se escribe en los archivos de configuración de Motion, lo que permite a atacantes remotos autenticados con acceso de administrador lograr la ejecución de código cuando se reinicia Motion."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"version": "n/a",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.2,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "HIGH",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.2,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-03T14:57:27.015264Z",
"id": "CVE-2025-60787",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-20"
},
{
"lang": "en",
"value": "CWE-78"
},
{
"lang": "en",
"value": "CWE-116"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:motioneye_project:motioneye:0.42.1:*:*:*:*:*:*:*",
"matchCriteriaId": "C26534FD-4BEE-4691-88AF-28ABE3E81009"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta1:*:*:*:*:*:*",
"matchCriteriaId": "4F8115A9-E036-48F2-AC19-08FED9506BF5"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta2:*:*:*:*:*:*",
"matchCriteriaId": "D60394AE-126F-47B6-B4D3-020403397F4C"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta3:*:*:*:*:*:*",
"matchCriteriaId": "834AF725-2D03-4E99-8EEC-AE42635F3A62"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:motioneye_project:motioneye:0.43.1:beta4:*:*:*:*:*:*",
"matchCriteriaId": "38A71A4A-6FEA-495A-B131-B7CF3E2F04CE"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter",
"source": "[email protected]",
"tags": [
"Exploit",
"Third Party Advisory"
]
}
]
}