Skip to main content
EPSS 0.5%top 62%

CVE-2026-55581: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in sonirico mcp-shell

0
High
VulnerabilityCVE-2026-55581cvecve-2026-55581cwe-78cwe-183cwe-1188
Published: 08/25/2026 (08/25/2026, 15:40:10 UTC)
Source: CVE Database V5
Vendor/Project: sonirico
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

sonirico

mcp-shell

Affected versions
<0.6.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:22:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses