Skip to content
Heist/ feed
Back to feed
Medium

motionEye: World-Readable Configuration File Exposes Admin Password Hash

Type: advisorySources: OSV

motionEye (mEye) is an online interface for motion software, a video surveillance program with motion detection. Versions prior to 0.44.0 create the configuration file /etc/motioneye/motion.conf with 644 permissions (-rw-r--r--), making it readable by any local user on the system. This file contains sensitive data including the admin password hash, which can be leveraged by other vulnerabilities to escalate privileges. Additionally, per-camera configuration files (camera-*.conf) are also created with the same 644 permissions, potentially exposing camera-specific credentials and settings. The exposed SHA1 admin password hash can be cracked offline to recover the plaintext password, used directly to forge authenticated admin API requests via the signature authentication weakness (GHSA-45h7-499j-7ww3), and chained with the OS command injection flaw (CVE-2025-60787) to escalate a local unprivileged user to the Motion daemon user (often root), enabling full system compromise. This issue has been fixed in version 0.44.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32315
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:35 UTC · Revision 1

Source evidence

motionEye: World-Readable Configuration File Exposes Admin Password Hash

core-osv · Original source

Published 24 Jun 2026, 20:45 UTC

motionEye (mEye) is an online interface for motion software, a video surveillance program with motion detection. Versions prior to 0.44.0 create the configuration file /etc/motioneye/motion.conf with 644 permissions (-rw-r--r--), making it readable by any local user on the system. This file contains sensitive data including the admin password hash, which can be leveraged by other vulnerabilities to escalate privileges. Additionally, per-camera configuration files (camera-*.conf) are also created with the same 644 permissions, potentially exposing camera-specific credentials and settings. The exposed SHA1 admin password hash can be cracked offline to recover the plaintext password, used directly to forge authenticated admin API requests via the signature authentication weakness (GHSA-45h7-499j-7ww3), and chained with the OS command injection flaw (CVE-2025-60787) to escalate a local unprivileged user to the Motion daemon user (often root), enabling full system compromise. This issue has been fixed in version 0.44.0.

osv:CVE-2026-32315
Complete source record
{
  "id": "a40bbfb9e4d0d4d14c411cbe63332aa97967ffcd0c101ea6f96d9f57f108f032",
  "url": "https://osv.dev/vulnerability/CVE-2026-32315",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "motionEye: World-Readable Configuration File Exposes Admin Password Hash",
    "summary": "motionEye (mEye) is an online interface for motion software, a video surveillance program with motion detection. Versions prior to 0.44.0 create the configuration file /etc/motioneye/motion.conf with 644 permissions (-rw-r--r--), making it readable by any local user on the system. This file contains sensitive data including the admin password hash, which can be leveraged by other vulnerabilities to escalate privileges. Additionally, per-camera configuration files (camera-*.conf) are also created with the same 644 permissions, potentially exposing camera-specific credentials and settings. The exposed SHA1 admin password hash can be cracked offline to recover the plaintext password, used directly to forge authenticated admin API requests via the signature authentication weakness (GHSA-45h7-499j-7ww3), and chained with the OS command injection flaw (CVE-2025-60787) to escalate a local unprivileged user to the Motion daemon user (often root), enabling full system compromise. This issue has been fixed in version 0.44.0.",
    "evidence": "osv:CVE-2026-32315",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-32315",
      "aliases": [
        "CVE-2026-32315",
        "GHSA-rhgp-6wq6-9j67",
        "PYSEC-2026-2666"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/motioneye-project/motioneye",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "505e250f09921056d2f355e33cbabb9bc2d2117f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.44.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "505e250f09921056d2f355e33cbabb9bc2d2117f"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.44.0"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.44.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.43.1",
            "0.43.1b2",
            "0.43.1b1",
            "0.42.1",
            "0.42",
            "0.41",
            "0.41rc1",
            "0.40",
            "0.40rc5",
            "0.40rc4",
            "0.40rc3",
            "0.40rc2",
            "0.40rc1",
            "0.39.3",
            "0.39.1",
            "0.39",
            "0.38",
            "0.37",
            "0.37rc1",
            "0.36.1",
            "0.36",
            "0.35.2",
            "0.35.1",
            "0.35",
            "0.35rc1",
            "0.34.1",
            "0.34",
            "0.34rc1",
            "0.31.4",
            "0.31.3",
            "0.31.2",
            "0.31.1",
            "0.31",
            "0.30",
            "0.30rc2",
            "0.30rc1",
            "0.29rc2",
            "0.29rc1",
            "0.28.3",
            "0.28.2",
            "0.28.1",
            "0.28",
            "0.27.2",
            "0.27.1",
            "0.27",
            "0.26",
            "0.25.2",
            "0.25.1",
            "0.25",
            "0.24",
            "0.23",
            "0.22",
            "0.21",
            "0.20",
            "0.19",
            "0.18",
            "0.17",
            "0.16",
            "0.15",
            "0.14",
            "0.13",
            "0.12",
            "0.11",
            "0.10",
            "0.9",
            "0.8",
            "0.7",
            "0.6",
            "0.5",
            "0.4",
            "0.3",
            "0.2",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32315.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.320753796Z",
      "provider": "osv",
      "references": [
        "https://github.com/motioneye-project/motioneye/releases/tag/0.44.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32315.json",
        "https://github.com/motioneye-project/motioneye/security/advisories/GHSA-rhgp-6wq6-9j67",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32315"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200",
          "CWE-522",
          "CWE-732"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32315.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32315",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495012,
  "published_at": "2026-06-24T20:45:34.326+00:00"
}