HexStrike AI MCP Server Command Injection
Summary
| CVE | CVE-2025-35028 |
|---|---|
| State | PUBLISHED |
| Assigner | AHA |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-11-30 22:15:46 UTC |
| Updated | 2026-10-18 20:10:00 UTC |
| Description | 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). |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS: 0.052900000 probability, percentile 0.924810000 (date 2026-10-18)
Problem Types: CWE-78 | CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | CVSS | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | 0x4m4 | HexStrike AI | affected 33267047667b9accfbf0fdac1c1c7ff12f3a5512 commit-hash | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/0x4m4/hexstrike-ai/issues/115 | [email protected] | github.com | |
| takeonme.org/gcves/GCVE-1337-2025-0000000000000000000000000000000000000000... | [email protected] | takeonme.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: jippen of AHA! (en)
CNA: todb of AHA! (en)
Additional Advisory Data
Exploits
CNA: The original advisory contains two example working proofs-of-concept exploits (which disclose the running user and the local /etc/passwd file to the remote requestor).
There are currently no legacy QID mappings associated with this CVE.