Advisory record · GHSA-g9fx-5r4h-pcw3

motionEye has an Arbitrary File Read via Path Traversal in Picture/Movie Preview Endpoint

CVSS 6.5 MediumEPSS 0.0034 · 27th percentile

Published by the GitHub Advisory Database at 22 Jun 2026, 17:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
motioneyePyPI<0.44.00.44.0
Identifiers
GHSA-g9fx-5r4h-pcw3 · CVE-2026-31978 · PYSEC-2026-2664
Weakness (CWE)
CWE-22 · CWE-284
Published
22 Jun 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

motionEye versions before 0.44.0 are vulnerable to path traversal in the picture and movie preview endpoints, such as /picture/{id}/preview/{filename}, which do not reject ".." sequences in the filename. An authenticated user with a normal, non-admin account can exploit this to read arbitrary files readable by the motionEye process user, including files outside the media directory. Upgrade to motionEye 0.44.0 or later, where this is fixed. The source gives no workaround.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 27th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:01 UTC First seen by agentprime
  2. 31 Oct 2026, 15:01 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.