Home / sonirico / mcp-shell / CVE-2026-55582
CVE-2026-55582: is it exploited, and which versions of sonirico mcp-shell are affected and fixed?
CVE-2026-55582 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, 16:39 UTC). Affected: github.com/sonirico/mcp-shell before 0.6.0 (GitHub advisory GHSA-74hp-mggr-hv58). Fixed in 0.6.0 (GitHub advisory GHSA-74hp-mggr-hv58). Severity: High (8.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-55582?
mcp-shell: Secure Mode Allowlist Bypass via Git Shell Alias
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=!<arbitrary-command>, 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.
From the CVE record by GitHub_M, last updated August 28, 2026, 22:28 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 28, 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-74hp-mggr-hv58 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 25, 2026. Summary: mcp-shell has a Secure Mode Allowlist Bypass via Git Shell Alias.
How severe is CVE-2026-55582?
| 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-55582 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 28, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 19.6 (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
Where are the vendor advisories and references?
- https://github.com/sonirico/mcp-shell/security/advisories/GHSA-74hp-mggr-hv58 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:37 UTC
- CVE record updated
- August 28, 2026, 22:28 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, 16: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-55581 sonirico mcp-shell: OS command injection
- Jan 7, 2026CVE-2025-61489 Sonirico Mcp-shell: command injection
Questions about CVE-2026-55582
Is CVE-2026-55582 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.26% 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-55582?
github.com/sonirico/mcp-shell before 0.6.0, per the GitHub advisory GHSA-74hp-mggr-hv58. The tables above give every range the sources list.
Which version fixes CVE-2026-55582?
0.6.0, per the GitHub advisory GHSA-74hp-mggr-hv58. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-55582?
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-55582?
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.