Skip to content
Heist/ feed
Back to feed
Critical

HexStrike AI MCP Server Command Injection

Type: advisorySources: OSV

By providing a command-line argument starting with a semi-colon ; to an API endpoint created by the EnhancedCommandExecutor class of the HexStrike AI MCP server, the resultant composed command is executed directly in the context of the MCP server’s normal privilege; typically, this is root. There is no attempt to sanitize these arguments in the default configuration of this MCP server at the affected version (as of commit 2f3a5512 in September of 2025).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-35028
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:10 UTC · Revision 1

Source evidence

HexStrike AI MCP Server Command Injection

core-osv · Original source

Published 30 Nov 2025, 21:27 UTC

By providing a command-line argument starting with a semi-colon ; to an API endpoint created by the EnhancedCommandExecutor class of the HexStrike AI MCP server, the resultant composed command is executed directly in the context of the MCP server’s normal privilege; typically, this is root. There is no attempt to sanitize these arguments in the default configuration of this MCP server at the affected version (as of commit 2f3a5512 in September of 2025).

osv:CVE-2025-35028
Complete source record
{
  "id": "58e709b2c0c0357ea6de006ae5679cf76766d388977ee9136f1a3ecec2622930",
  "url": "https://osv.dev/vulnerability/CVE-2025-35028",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HexStrike AI MCP Server Command Injection",
    "summary": "By providing a command-line argument starting with a semi-colon ; to an API endpoint created by the EnhancedCommandExecutor class of the HexStrike AI MCP server, the resultant composed command is executed directly in the context of the MCP server’s normal privilege; typically, this is root. There is no attempt to sanitize these arguments in the default configuration of this MCP server at the affected version (as of commit 2f3a5512 in September of 2025).",
    "evidence": "osv:CVE-2025-35028",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-35028",
      "aliases": [
        "CVE-2025-35028"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/0x4m4/hexstrike-ai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "33267047667b9accfbf0fdac1c1c7ff12f3a5512"
                },
                {
                  "last_affected": "33267047667b9accfbf0fdac1c1c7ff12f3a5512"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "33267047667b9accfbf0fdac1c1c7ff12f3a5512"
                      },
                      {
                        "last_affected": "33267047667b9accfbf0fdac1c1c7ff12f3a5512"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "33267047667b9accfbf0fdac1c1c7ff12f3a5512"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-35028.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.002593042Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/35xxx/CVE-2025-35028.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-35028",
        "https://github.com/0x4m4/hexstrike-ai/issues/115",
        "https://takeonme.org/gcves/GCVE-1337-2025-00000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000011"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "AHA",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/35xxx/CVE-2025-35028.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-35028",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494854,
  "published_at": "2025-11-30T21:27:56.057+00:00"
}