PYSEC-2026-2663

Vulnerability from pysec - Published: 2026-07-13 15:19 - Updated: 2026-07-13 16:04
VLAI
Details

An issue was discovered in ModelScope 1.25.0 allowing attackers to execute arbitrary code via crafted module listed in the configuration file (dey_mini.yaml) under the key ['nnet']['module'].

Impacted products
Name purl
modelscope pkg:pypi/modelscope

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "modelscope",
        "purl": "pkg:pypi/modelscope"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.27.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.4",
        "1.1.1",
        "1.1.3",
        "1.10.0",
        "1.11.0",
        "1.11.1",
        "1.12.0",
        "1.13.0",
        "1.13.1",
        "1.13.2",
        "1.13.3",
        "1.14.0",
        "1.15.0",
        "1.16.0",
        "1.16.1",
        "1.17.0",
        "1.17.1",
        "1.18.0",
        "1.18.1",
        "1.19.0",
        "1.19.1",
        "1.19.2",
        "1.2.0",
        "1.2.1",
        "1.20.0",
        "1.20.1",
        "1.21.0",
        "1.21.1",
        "1.22.0",
        "1.22.1",
        "1.22.2",
        "1.22.3",
        "1.23.0",
        "1.23.1",
        "1.23.2",
        "1.24.0",
        "1.24.1",
        "1.25.0",
        "1.26.0",
        "1.3.0",
        "1.3.1",
        "1.3.2",
        "1.4.0",
        "1.4.1",
        "1.4.2",
        "1.5.0",
        "1.5.1",
        "1.5.2",
        "1.6.0",
        "1.6.1",
        "1.7.0",
        "1.7.1",
        "1.8.0",
        "1.8.0rc0",
        "1.8.1",
        "1.8.3",
        "1.8.4",
        "1.9.0",
        "1.9.1",
        "1.9.2",
        "1.9.3",
        "1.9.4",
        "1.9.5"
      ]
    }
  ],
  "aliases": [
    "CVE-2025-51427",
    "GHSA-fhhq-h4hg-549x"
  ],
  "details": "An issue was discovered in ModelScope 1.25.0 allowing attackers to execute arbitrary code via crafted module listed in the configuration file (dey_mini.yaml) under the key [\u0027nnet\u0027][\u0027module\u0027].",
  "id": "PYSEC-2026-2663",
  "modified": "2026-07-13T16:04:57.837020Z",
  "published": "2026-07-13T15:19:09.174645Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-51427"
    },
    {
      "type": "WEB",
      "url": "https://github.com/modelscope/modelscope/issues/1331"
    },
    {
      "type": "WEB",
      "url": "https://github.com/modelscope/modelscope/pull/1333"
    },
    {
      "type": "WEB",
      "url": "https://github.com/modelscope/modelscope/commit/75d54927e112261d39598ca08c15b66a7ff3f735"
    },
    {
      "type": "WEB",
      "url": "https://github.com/JIRUWOZHI/vulnerability-disclosure/blob/main/CVE-2025-51427/CVE_2025_51427.md"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/modelscope/modelscope"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/modelscope"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-fhhq-h4hg-549x"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ModelScope is vulnerable to arbitrary code injection via a crafted module"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…