{"answers":{"affected":"3 open source packages ship an affected version, including motioneye.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32315 exists.","fix":"Upgrade motioneye to 0.44.0 or later.","what":"CVE-2026-32315 is a medium-severity vulnerability in motioneye-project motioneye, published on 24 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32315 and fix it if it is affected.\n\nWhat it is: CVE-2026-32315 is a medium-severity vulnerability in motioneye-project motioneye, published on 24 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32315 exists.\n\nAffected packages and fixed versions:\n- motioneye (PyPI): affected all versions; fixed in 0.44.0\n- motioneye (PyPI): affected all versions; fixed in 0.44.0\n- motioneye (PyPI): affected all versions; fixed in 0.44.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-32315/ (Markdown: https://insights.sbomify.com/CVE-2026-32315/index.md)","id":"CVE-2026-32315","markdown":"https://insights.sbomify.com/CVE-2026-32315/index.md","name":"CVE-2026-32315","record":{"aliases":["GHSA-rhgp-6wq6-9j67","PYSEC-2026-2666"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"motionEye web interface","requires_auth":"low_privilege","summary":"Local attackers can read world-readable configuration files to obtain admin password hashes, enabling offline cracking and subsequent privilege escalation.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"motionEye: World-Readable Configuration File Exposes Admin Password Hash","id":"CVE-2026-32315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow","id":"CVE-2026-32316"},"packages":[{"ecosystem":"PyPI","fixed":["0.44.0"],"introduced":["0"],"last_affected":[],"package":"motioneye","purl":null,"source":"GHSA-rhgp-6wq6-9j67"},{"ecosystem":"PyPI","fixed":["0.44.0"],"introduced":["0"],"last_affected":[],"package":"motioneye","purl":"pkg:pypi/motioneye","source":"GHSA-rhgp-6wq6-9j67"},{"ecosystem":"PyPI","fixed":["0.44.0"],"introduced":["0"],"last_affected":[],"package":"motioneye","purl":"pkg:pypi/motioneye","source":"PYSEC-2026-2666"}],"prev":{"headline":"Yamux remote Panic via malformed Data frame with SYN set and len = 262145","id":"CVE-2026-32314"},"products":["motioneye"],"published":"2026-06-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-25","vendors":["motioneye-project"]},"summary":"Local attackers can read world-readable configuration files to obtain admin password hashes, enabling offline cracking and subsequent privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-32315/"}