CVE-2025-61489: mcp-shell · A Command Injection
Affects mcp-shellSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsonirico/mcp-shellpkg:github/sonirico/mcp-shellOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Immediate mitigation steps include restricting network access to the sonirico mcp-shell service using firewalls or network segmentation to limit exposure. Implement strict input validation and sanitization on all inputs passed to shell_exec or replace the use of shell_exec with safer alternatives that do not invoke the shell directly. Monitor logs and system behavior for unusual command execution patterns indicative of exploitation attempts. Conduct vulnerability scanning and penetration testing focused on command injection vectors. Until an official patch is released, consider deploying application-layer firewalls or intrusion prevention systems with custom rules to detect and block malicious command strings. Educate developers and administrators about secure coding practices to prevent similar injection flaws. Maintain an incident response plan to quickly isolate and remediate affected systems if exploitation is detected.
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.