GHSA-26f6-wm47-7h7j: Duplicate Advisory Remote Code Execution Vulnerability

HIGH
CVSS 7.2
CWE-20
Published
Advisory Summary

GHSA-26f6-wm47-7h7j is a HIGH (CVSS 7.2) remote code execution vulnerability (CWE-20: Improper Input Validation) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves motioneye vulnerable to rce via unsanitized motion config parameter. Remediation is available in the latest vendor maintenance releases.

GHSA-26f6-wm47-7h7j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-26f6-wm47-7h7j
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-20: Improper Input Validation
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-26f6-wm47-7h7j

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

motioneye fixed: Latest secure release
pip install motioneye>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show motioneye

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-26f6-wm47-7h7j, inspect your installed packages using pip:

pip show motioneye

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show motioneye command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-j945-qm58-4gjx. This link is maintained to preserve external references. ## Original Description MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name. Unsanitized user input is written to Motion configuration files, allowing remote authenticated attackers with admin access to achieve code execution when Motion is restarted.

GHSA-26f6-wm47-7h7j Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
motioneye
PyPI

References

Frequently Asked Questions

What is GHSA-26f6-wm47-7h7j?
GHSA-26f6-wm47-7h7j is a security vulnerability in Duplicate Advisory involving motionEye vulnerable to RCE via unsanitized motion config parameter under CWE-20: Improper Input Validation.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: motioneye.
What version fixes GHSA-26f6-wm47-7h7j?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is motioneye affected?
Yes, motioneye is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-26f6-wm47-7h7j?
GHSA-26f6-wm47-7h7j has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-26f6-wm47-7h7j?
GHSA-26f6-wm47-7h7j is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for GHSA-26f6-wm47-7h7j?
Run the dependency tree command: 'pip show motioneye'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-26f6-wm47-7h7j",
  "modified" : "2025-11-03T21:48:00Z",
  "published" : "2025-10-03T18:31:28Z",
  "withdrawn" : "2025-11-03T21:47:59Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: motionEye vulnerable to RCE via unsanitized motion config parameter",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-j945-qm58-4gjx. This link is maintained to preserve external references.\n\n## Original Description\nMotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name. Unsanitized user input is written to Motion configuration files, allowing remote authenticated attackers with admin access to achieve code execution when Motion is restarted.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "motioneye"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 0.43.1b5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-60787"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter"
  }, {
    "type" : "WEB",
    "url" : "http://motioneye-project.com"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-03T21:47:59Z",
    "nvd_published_at" : "2025-10-03T16:16:20Z"
  }
}