7.2high
Unrestricted Upload of File with Dangerous Type in motionEye
- Severity
- 7.2high CVSS:3.1 by NVD
- Exploit likelihood
- 3.19% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-m2c7-42rf-c62fPYSEC-2026-681
Description
Authenticated remote code execution in MotionEye <= 0.42.1 and MotioneEyeOS <= 20200606 allows a remote attacker to upload a configuration backup file containing a malicious python pickle file which will execute arbitrary code on the server.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| motioneye (PyPI) | up to 0.42.1 | GitHub Advisory Database, PyPA Advisory Database |
| motioneye_project motioneye | before 0.42.1 | NVD |
| motioneyeos_project motioneyeos | before 20200606 | NVD |
All scores
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| PyPA Advisory Database | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Authenticated remote code execution in MotionEye <= 0.42.1 and MotioneEyeOS <= 20200606 allows a remote attacker to upload a configuration backup file containing a malicious python pickle file which will execute arbitrary code on the server.
GitHub Advisory Database
motionEye <= 0.42.1 and motioneEyeOS <= 20200606 allow a remote attacker to upload a configuration backup file containing a malicious python pickle file. This is possible when an installation is accessible over the Internet and uses no or poor authentication credentials.
The GitHub repositories for motionEye and motionEyeOS are no longer being actively maintained as of January 2022, so release of a patched version is unlikely. Keeping a motionEye or motionEyeOS installation off of the Internet and/or using strong credentials provide protection against this issue.
NVD (es)
Una ejecución de código remoto autenticado en MotionEye versiones anteriores a 0.42.1 incluyéndola y MotioneEyeOS versiones anteriores a 20200606 incluyéndola, permite a un atacante remoto cargar un archivo de copia de seguridad de la configuración que contiene un archivo python pickle malicioso que ejecutará código arbitrario en el servidor
References
| https://www.pizzapower.me/2021/10/09/self-hosted-security-part-1-motioneye/ | third-party-advisory | |
| https://github.com/ccrisan/motioneyeos/issues/2843 | issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-44255 | advisory | |
| https://github.com/ccrisan/motioneye | package | |
| https://www.pizzapower.me/2021/10/09/self-hosted-security-part-1-motioneye | web | |
| https://pypi.org/project/motioneye | package | |
| https://github.com/advisories/GHSA-m2c7-42rf-c62f | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-44255 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m2c7-42rf-c62f changed 2026-07-06 | CC-BY-4.0 |
| NVD | CVE-2021-44255 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-681 changed 2026-07-06 | CC-BY-4.0 |