SCA: security update for motioneye (GHSA-g9fx-5r4h-pcw3)

medium Tenable Cloud Security Plugin ID 443749

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- motionEye (mEye) is an online interface for motion software, which is a video surveillance program with
motion detection. Versions prior to 0.44.0 are vulnerable to path traversal in the picture and movie API
endpoints, suhc as /picture/{id}/preview/{filename}. Neither the API handlers, nor the mediafiles.py
functions such as get_media_preview() check for .. sequences in the filename parameter, except for
get_media_content(). This allows an authenticated user with normal (non-admin) privileges to read
arbitrary files from the filesystem as the motionEye process user, such as: /etc/passwd, /etc/shadow,
motionEye config files containing password hashes and plaintext passwords, SSH keys, and other cameras'
surveillance footage. This issue has been fixed in version 0.44.0. (CVE-2026-31978)

Solution

Update the motioneye library and its related packages to version 0.44.0 or later.

See Also

https://github.com/advisories/GHSA-g9fx-5r4h-pcw3

Plugin Details

Severity: Medium

ID: 443749

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/22/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2026-31978

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/22/2026

Vulnerability Publication Date: 6/22/2026

Reference Information

CVE: CVE-2026-31978