Skip to main content

motionEye CVE-2026-55863

| EUVDEUVD-2026-78931 MEDIUM
Missing Authorization (CWE-862)
2026-06-23 https://github.com/motioneye-project/motioneye GHSA-j67x-q29f-qcvv PYSEC-2026-2665
5.3
CVSS 3.1 · Vendor: https://github.com/motioneye-project/motioneye
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover motionEye on port 8765
  2. Delivery
    Send unauthenticated POST to /action/<camera_id>/<action>
  3. Exploit
    Server skips auth check due to missing decorator
  4. Execution
    Execute built-in camera action or configured shell script
  5. Impact
    Trigger physical security control or pivot via SSRF

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The motionEye web interface must be reachable from the attacker's network on the configured port (default 8765) - this is the only prerequisite for the baseline snapshot/record_start/record_stop impact. No authentication, no special HTTP headers, no user interaction, and no non-default configuration are required for these built-in actions. The elevated physical-security impact (PTZ movement, alarm control, lighting, lock/unlock) additionally requires that an administrator has pre-configured action scripts for the target camera - this is optional and not enabled by default. The SSRF vector additionally requires that remote camera connections to other motionEye servers are configured. Exploitation is bounded by: network exposure (instances behind firewalls or on isolated VLANs are not directly reachable), and the scope of action scripts is limited to whatever the admin has pre-authorized in camera configuration.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N yields a 5.3 Medium score, reflecting a low-complexity, fully network-accessible, unauthenticated attack with limited integrity-only impact. However, the CVSS score materially understates real-world risk in environments where action scripts are configured: triggering alarm_on, light_on, or PTZ commands represents physical security bypass, an impact class not well-represented by I:L. The SSRF vector via remote camera action triggers adds a lateral-movement dimension also not captured in the base score. No EPSS score is present in the provided data, and no CISA KEV listing exists, so exploitation breadth is unknown. The exploitation barrier is trivially low - a single unauthenticated HTTP POST - and was dynamically confirmed by the reporter, meaning any actor with network access to port 8765 can exploit this without tooling or specialized knowledge. Defenders in physical security, surveillance, or smart-facility contexts should treat this as higher operational priority than the base score alone implies.

Exploit ScenarioDerived

An attacker scans for motionEye instances listening on TCP port 8765 and sends a single unauthenticated HTTP POST to /action/1/alarm_on with no headers or body - the server responds HTTP 200 and executes the alarm_on shell script configured by the administrator, potentially silencing a physical alarm or disabling a door lock. If the target has remote camera connections configured, the attacker can chain requests to trigger actions on internal motionEye servers not otherwise reachable, achieving SSRF-based lateral movement. No exploit tooling is required; the attack is reproducible with a single curl command as demonstrated in the advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 23, 2026

Unauthenticated remote action execution in motionEye (pip/motioneye < 0.44.0) exposes every camera action endpoint - snapshots, recording start/stop, and administrator-configured shell scripts - to any attacker who can reach port 8765, due to a missing @BaseHandler.auth() decorator on ActionHandler.post(). Dynamically confirmed on v0.43.1 in a Docker lab environment; exploitation requires only a single HTTP POST with no credentials, headers, or user interaction. Beyond the CVSS 5.3 Medium rating, real-world impact extends to physical security bypass (PTZ, alarms, lighting controls) if action scripts are configured, and SSRF via remote camera triggering - no public exploit or CISA KEV listing is identified at time of analysis.

RemediationAI

Upgrade to motionEye version 0.44.0 or later, which applies the @BaseHandler.auth() decorator to ActionHandler.post(), aligning it with the authorization pattern used by other protected handlers. The fix is referenced in GHSA-j67x-q29f-qcvv at https://github.com/motioneye-project/motioneye/security/advisories/GHSA-j67x-q29f-qcvv. For Docker deployments, pull the updated image tagged 0.44.0 or later. If immediate patching is not feasible, restrict network access to port 8765 via firewall rules so that only trusted hosts can reach the motionEye interface - this eliminates the network attack vector entirely and is the most effective compensating control. Alternatively, place motionEye behind an authenticating reverse proxy (e.g., nginx with HTTP basic auth or mTLS) to enforce credential checks at the network boundary before requests reach the vulnerable handler; note this adds operational overhead for legitimate integrations. Do not expose motionEye directly to the internet on unpatched versions.

Affected VersionsENISA

motioneye < 0.44.0

Affected Packages

pypi motioneye fix: 0.44.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

motionEye is an open-source Python web frontend for the motion daemon, commonly deployed via Docker on port 8765 to manage IP cameras and USB webcams on Linux. The affected code is in motioneye/handlers/action.py, where ActionHandler inherits from BaseHandler but omits the @BaseHandler.auth() decorator that is correctly applied to other sensitive handlers (e.g., the admin-only delete endpoint). CWE-862 (Missing Authorization) is the root cause: the authorization mechanism exists and is used elsewhere in the codebase, but was never applied to the POST action handler. The /action/<camera_id>/<action> route accepts arbitrary action strings - built-in ones (snapshot, record_start, record_stop) and configured action scripts (lock, unlock, alarm_on, alarm_off, light_on) that invoke predefined shell commands via run_command_bg(). The affected package identifier is pkg:pip/motioneye, versions prior to 0.44.0.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/motioneye-project/motioneye) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 5.3 MEDIUM

Fully network-accessible unauthenticated endpoint; integrity impact only since camera actions do not expose confidential data or directly deny service.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/motioneye-project/motioneye).

CVSS VectorVendor: https://github.com/motioneye-project/motioneye

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

The ActionHandler.post() method in motionEye has no authentication decorator, allowing any unauthenticated attacker to trigger camera actions including snapshots, recording start/stop, and configured action scripts (PTZ controls, alarm triggers, etc.).

Vulnerability Details

File: motioneye/handlers/action.py - ActionHandler.post() line 36 CWE: CWE-862 - Missing Authorization CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N = 5.3 Medium

Vulnerable Code

python
class ActionHandler(BaseHandler):
    async def post(self, camera_id, action):
# ← NO @BaseHandler.auth() decorator
        camera_id = int(camera_id)
        if camera_id not in config.get_camera_ids():
            raise HTTPError(404, 'no such camera')
        ...
        if action == 'snapshot':
            await self.snapshot(camera_id)
# executed without auth
            return
        elif action == 'record_start':
            return self.record_start(camera_id)
        elif action == 'record_stop':
            return self.record_stop(camera_id)

        action_commands = config.get_action_commands(local_config)
        command = action_commands.get(action)
        ...
        self.run_command_bg(command)
# executes predefined shell scripts

Compare with other handlers that correctly require authentication:

python
@BaseHandler.auth(admin=True)
# ← properly protected
async def delete(self, camera_id, filename):
    ...

Steps to Reproduce

  1. Deploy motionEye with at least one camera configured
  2. Send unauthenticated POST:
POST /action/1/snapshot HTTP/1.1
Host: motioneye-host:8765
Content-Length: 0
  1. Observe {} (HTTP 200) response - snapshot triggered without any credentials

For action scripts (lock, unlock, alarm_on, alarm_off, light_on, etc.):

POST /action/1/alarm_on HTTP/1.1
Host: motioneye-host:8765

Impact

  • Unauthenticated attacker can trigger camera snapshots on demand
  • Unauthenticated attacker can start/stop video recording
  • If action scripts are configured by admin: attacker can trigger PTZ movement, alarm control, lighting changes - physical security bypass
  • Via remote cameras: SSRF by triggering action on a remote motionEye server

Verification

Dynamically confirmed on v0.43.1 in Docker lab - POST /action/2/snapshot with no credentials returns HTTP 200 {}. Server log shows the action was processed (failed only because motion daemon was not running for the test camera, not due to an auth rejection).

Recommended Fix

python
class ActionHandler(BaseHandler):
    @BaseHandler.auth()
# add authentication requirement
    async def post(self, camera_id, action):
        ...

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source camera NVR frontend, limited enterprise deployment footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy