Home / sonirico / mcp-shell / CVE-2026-55581
CVE-2026-55581: is it exploited, and which versions of sonirico mcp-shell are affected and fixed?
CVE-2026-55581 is an OS command injection vulnerability in sonirico mcp-shell. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: github.com/sonirico/mcp-shell before 0.6.0 (GitHub advisory GHSA-3x77-wg38-92r3). Fixed in 0.6.0 (GitHub advisory GHSA-3x77-wg38-92r3). Severity: High (8.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-55581?
mcp-shell: Secure Mode Allowlist Bypass via Default `/bin/bash` Executable
mcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, the default Docker security.yaml includes /bin/bash in allowed_executables, while security.go validates only the first token and checkBlockedPatternsAndCommands does not reject the shell command-mode flag -c. A caller of the shell_exec MCP tool can provide the command argument `/bin/bash -c <arbitrary-command>`, which passes validation and reaches executor.go, where parseCommand and exec.CommandContext execute the arbitrary command as mcpuser outside the intended allowlist. This issue is fixed in version 0.6.0.
From the CVE record by GitHub_M, last updated August 25, 2026, 19:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sonirico | mcp-shell | < 0.6.0 |
As the CVE record by GitHub_M states it, last updated August 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/sonirico/mcp-shell | < 0.6.0 | 0.6.0 | GHSA-3x77-wg38-92r3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 25, 2026. Summary: mcp-shell has a Secure Mode Allowlist Bypass via Default `/bin/bash` Executable.
How severe is CVE-2026-55581?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-55581 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 25, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-183 Permissive List of Allowed Inputs
- CWE-1188 Initialization of a Resource with an Insecure Default
Where are the vendor advisories and references?
- https://github.com/sonirico/mcp-shell/security/advisories/GHSA-3x77-wg38-92r3 x_refsource_CONFIRM
- https://github.com/sonirico/mcp-shell/pull/16 x_refsource_MISC
- https://github.com/sonirico/mcp-shell/commit/f31377fce6ec31114e5a4398c0e5270552bce09f x_refsource_MISC
- https://github.com/sonirico/mcp-shell/releases/tag/v0.6.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 16, 2026
- Published
- August 25, 2026, 15:40 UTC
- CVE record updated
- August 25, 2026, 19:01 UTC by GitHub_M
- NVD
- Deferred, last modified September 9, 2026, 21:07 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect mcp-shell?
- Aug 25, 2026CVE-2026-55580 sonirico mcp-shell: OS command injection
- Aug 25, 2026CVE-2026-55582 sonirico mcp-shell: OS command injection
- Jan 7, 2026CVE-2025-61489 Sonirico Mcp-shell: command injection
Questions about CVE-2026-55581
Is CVE-2026-55581 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of sonirico mcp-shell are affected by CVE-2026-55581?
github.com/sonirico/mcp-shell before 0.6.0, per the GitHub advisory GHSA-3x77-wg38-92r3. The tables above give every range the sources list.
Which version fixes CVE-2026-55581?
0.6.0, per the GitHub advisory GHSA-3x77-wg38-92r3. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-55581?
High (8.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-55581?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.