CVE-2025-61489 Details
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.
A command injection vulnerability has been identified in Sonirico MCP-Shell version 0.3.1. This vulnerability allows attackers to execute arbitrary commands by bypassing existing security validations. The issue arises from the use of the 'shell_exec' function, which executes commands in a bash shell context, enabling the use of shell syntax to obfuscate and reconstruct prohibited commands. The vulnerability exploits flaws in the command validation process, which relies on keyword matching and can be easily circumvented.
Users are advised to update to Sonirico MCP-Shell version 0.4.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sonirico/mcp-shell | [email protected] | Product |
| https://github.com/sonirico/mcp-shell/issues/4 | [email protected] | ExploitIssue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| sonirico mcp-shell | 0.3.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Jan 7, 2026 | New CVE Received | [email protected] |
| Jan 7, 2026 | CVE Modified | CISA-ADP |