PYSEC-2026-3076

Vulnerability from pysec - Published: 2026-07-13 14:36 - Updated: 2026-07-13 16:06
VLAI
Details

A vulnerability was identified in stata-mcp prior to v1.13.0 where insufficient validation of user-supplied Stata do-file content can lead to command execution.

Impacted products
Name purl
stata-mcp pkg:pypi/stata-mcp

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "stata-mcp",
        "purl": "pkg:pypi/stata-mcp"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.13.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.0",
        "1.10.0",
        "1.10.1",
        "1.10.2",
        "1.11.0",
        "1.11.1",
        "1.12.0",
        "1.12.1",
        "1.3.10",
        "1.3.2",
        "1.3.3",
        "1.3.4",
        "1.3.5",
        "1.3.6",
        "1.3.7",
        "1.3.8",
        "1.4.0",
        "1.4.1",
        "1.5.1",
        "1.5.2",
        "1.5.3",
        "1.6.0",
        "1.6.1",
        "1.6.2",
        "1.6.3",
        "1.7.0",
        "1.7.1",
        "1.7.2",
        "1.7.3",
        "1.7.4",
        "1.8.0",
        "1.8.1",
        "1.8.2",
        "1.9.0",
        "1.9.1"
      ]
    }
  ],
  "aliases": [
    "CVE-2026-31040",
    "GHSA-jpcj-7wfg-mqxv"
  ],
  "details": "A vulnerability was identified in stata-mcp prior to v1.13.0 where insufficient validation of user-supplied Stata do-file content can lead to command execution.",
  "id": "PYSEC-2026-3076",
  "modified": "2026-07-13T16:06:21.332836Z",
  "published": "2026-07-13T14:36:49.980423Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31040"
    },
    {
      "type": "WEB",
      "url": "https://github.com/SepineTam/stata-mcp/issues/20"
    },
    {
      "type": "WEB",
      "url": "https://github.com/SepineTam/stata-mcp/pull/21"
    },
    {
      "type": "WEB",
      "url": "https://github.com/SepineTam/stata-mcp/commit/52413ce"
    },
    {
      "type": "WEB",
      "url": "https://github.com/SepineTam/stata-mcp/releases/tag/v1.13.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/sepinetam/stata-mcp"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/stata-mcp"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-jpcj-7wfg-mqxv"
    }
  ],
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "stata-mcp has insufficient validation of user-supplied Stata do-file content that can lead to command execution"
}



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…