mcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, the default security.yaml allows /usr/bin/git, while security.go omits ! from containsShellMetacharacters and containsDangerousShellConstructs and applies no per-executable argument policy. A caller of the shell_exec MCP tool can provide the command argument /usr/bin/git -c alias.pwn=!, causing Git to create a shell alias and execute arbitrary OS commands as the mcp-shell process user. The default Docker image runs as mcpuser with Git installed and secure mode enabled, so the bypass is exploitable in the default deployment without additional authentication beyond MCP connectivity. This issue is fixed in version 0.6.0.
CVE-2026-55582
This high-severity CVE scores 8.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 91% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.4
- EG Score
- 8.4(medium)
- EG Risk
- 54(Track*)EG Risk 54/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity84% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 0%
- EPSS %ILE
- 9%
- KEV
- Not listed
Published
August 25, 2026
Last Modified
August 28, 2026
Advisory Details (4)
Auto-updated Aug 25, 2026Secure Mode Allowlist Bypass via Git Shell Alias · Advisory · sonirico/mcp-shell · GitHub
https://github.com/sonirico/mcp-shell/security/advisories/GHSA-74hp-mggr-hv58v0.6.0 — secure mode by default
Patch available: sonirico/mcp-shell v0.6.0
https://github.com/sonirico/mcp-shell/releases/tag/v0.6.0fix: secure mode by default + keep interpreters out of the allowlist
Patch available: sonirico/mcp-shell v0.6.0 (PR #16 merged 2026-06-14)
https://github.com/sonirico/mcp-shell/pull/16commit f31377fce6ec (sonirico/mcp-shell)
Patch available: sonirico/mcp-shell v0.6.0 (contains commit f31377fce6ec)
https://github.com/sonirico/mcp-shell/commit/f31377fce6ec31114e5a4398c0e5270552bce09fVendor Advisories for CVE-2026-55582(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/sonirico/mcp-shell | — | 0.6.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 23:28 UTCEG score recompute
- 2026-08-28 22:51 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-28 00:57 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 15:01 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 16:23 UTCEG score recompute
- 2026-08-25 15:44 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
- CVE-2009-20011EG 10.0CRITICAL
- CVE-2011-10017EG 10.0CRITICAL
- CVE-2012-1166EG 10.0EPSS p91HIGH
- CVE-2012-2976EG 10.0EPSS p92HIGH
- CVE-2012-2953EG 10.0EPSS p99HIGH
- CVE-2011-4502EG 10.0EPSS p92HIGH
- CVE-2011-2148EG 10.0EPSS p92HIGH
- CVE-2011-0382EG 10.0EPSS p90HIGH
- CVE-2011-0381EG 10.0EPSS p92HIGH
- CVE-2011-0372EG 10.0HIGH
Frequently asked(5)
What is CVE-2026-55582?
When was CVE-2026-55582 disclosed?
Is CVE-2026-55582 actively exploited?
What is the CVSS score of CVE-2026-55582?
How do I remediate CVE-2026-55582?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-55582
Is Your Infrastructure Affected by CVE-2026-55582?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.