Description
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.
Affected products
sonirico: mcp-shell
References2
- github.com/sonirico/mcp-shell/issues/4 ExploitIssue Tracking
- github.com/sonirico/mcp-shell Product
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - EPSS — exploit probability
- 1% percentile: 62 · as of 11 November 2026
- CWE
- CWE-77
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.