Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Fully network-accessible unauthenticated endpoint; integrity impact only since camera actions do not expose confidential data or directly deny service.
Primary rating from Vendor (https://github.com/motioneye-project/motioneye).
CVSS VectorVendor: https://github.com/motioneye-project/motioneye
Lifecycle Timeline
2DescriptionCVE.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
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 scriptsCompare with other handlers that correctly require authentication:
@BaseHandler.auth(admin=True)
# ← properly protected
async def delete(self, camera_id, filename):
...Steps to Reproduce
- Deploy motionEye with at least one camera configured
- Send unauthenticated POST:
POST /action/1/snapshot HTTP/1.1
Host: motioneye-host:8765
Content-Length: 0- 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:8765Impact
- 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
class ActionHandler(BaseHandler):
@BaseHandler.auth()
# add authentication requirement
async def post(self, camera_id, action):
...AnalysisAI
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.
Technical ContextAI
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.
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-78931
GHSA-j67x-q29f-qcvv