Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-61489

A command injection vulnerability in the shell_exec function of sonirico mcp-shell v0.3.1 allows attackers to execute arbitrary commands via supplying a crafted command string.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-61489
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:35 UTC · Revision 1

Source evidence

CVE-2025-61489

core-osv · Original source

Published 7 Jan 2026, 00:00 UTC

A command injection vulnerability in the shell_exec function of sonirico mcp-shell v0.3.1 allows attackers to execute arbitrary commands via supplying a crafted command string.

osv:CVE-2025-61489
Complete source record
{
  "id": "0d6e2665e46bd6b775527cfb8e313bded6ca28ed4977278996604256d572cfaf",
  "url": "https://osv.dev/vulnerability/CVE-2025-61489",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-61489",
    "summary": "A command injection vulnerability in the shell_exec function of sonirico mcp-shell v0.3.1 allows attackers to execute arbitrary commands via supplying a crafted command string.",
    "evidence": "osv:CVE-2025-61489",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-61489",
      "aliases": [
        "CVE-2025-61489"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sonirico/mcp-shell",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fcbb32b7072c1a43dee4c6d44641b7950c563ba9"
                },
                {
                  "last_affected": "fcbb32b7072c1a43dee4c6d44641b7950c563ba9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sonirico:mcp-shell:0.3.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.3.1"
                      },
                      {
                        "last_affected": "0.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.3.1",
            "v0.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61489.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.429728512Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61489.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-61489",
        "https://github.com/sonirico/mcp-shell/issues/4",
        "https://github.com/sonirico/mcp-shell"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61489.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-61489",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517796,
  "published_at": "2026-01-07T00:00:00+00:00"
}