CVE-2026-55581: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in sonirico mcp-shell
Description
CVE-2026-55581 is an OS command injection vulnerability in sonirico mcp-shell prior to version 0.6.0. The issue arises because the default Docker security.yaml allows /bin/bash in allowed_executables, but validation only checks the first token and does not block the shell command-mode flag -c. This allows an attacker to execute arbitrary commands as the mcpuser. The vulnerability is fixed in version 0.6.0.
CVSS v3.1
Score 8.4high
Affected software
sonirico
mcp-shell
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The mcp-shell product from sonirico, used for running shell commands securely and auditably, has an OS command injection vulnerability (CWE-78) before version 0.6.0. The default Docker security.yaml includes /bin/bash in allowed executables, but the validation logic only inspects the first token of the command and fails to reject the shell command-mode flag '-c'. Consequently, an attacker can supply a command argument such as `/bin/bash -c <arbitrary-command>`, which bypasses validation and is executed by exec.CommandContext as the mcpuser, outside the intended allowlist. This vulnerability is addressed in version 0.6.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands as the mcpuser, potentially leading to full compromise of the system's confidentiality, integrity, and availability. The CVSS score is 8.4 (high severity), reflecting the local attack vector with low complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability is fixed in sonirico mcp-shell version 0.6.0. Users should upgrade to version 0.6.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is stated to be in version 0.6.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T23:18:03.169Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8dba54acd9273b4965b602
Added to database: 08/25/2026, 15:52:52 UTC
Last enriched: 09/10/2026, 04:22:38 UTC
Last updated: 10/10/2026, 18:48:20 UTC
Views: 51
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.