---
id: CVE-2021-44255
aliases:
  - GHSA-m2c7-42rf-c62f
  - PYSEC-2026-681
title: Unrestricted Upload of File with Dangerous Type in motionEye
summary: Unrestricted Upload of File with Dangerous Type in motionEye
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
vendor: motioneye
product: motioneye
ecosystem: pip
affected:
  - motioneye <= 0.42.1
published: '2022-02-01'
updated: '2026-07-06'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-m2c7-42rf-c62f'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-44255'
  - url: 'https://github.com/ccrisan/motioneyeos/issues/2843'
  - url: 'https://github.com/ccrisan/motioneye'
  - url: 'https://www.pizzapower.me/2021/10/09/self-hosted-security-part-1-motioneye'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.03138
epssPercentile: 0.8736
ingestedAt: '2026-07-08T18:25:50.914Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/pizza-power/motioneye-authenticated-RCE'
  checkedAt: '2026-09-25T08:20:40.192Z'
exploitAvailable: true
---

## Overview

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.

## Affected packages

- `motioneye <= 0.42.1`

## Remediation

Refer to the advisory for the patched release.
