Advisory record · GHSA-74hp-mggr-hv58

mcp-shell has a Secure Mode Allowlist Bypass via Git Shell Alias

CVSS 8.4 HighEPSS 0.0027 · 19th percentile

Published by the GitHub Advisory Database at 25 Aug 2026, 15:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/sonirico/mcp-shellGo<0.6.00.6.0
Identifiers
GHSA-74hp-mggr-hv58 · CVE-2026-55582 · GO-2026-6291
Weakness (CWE)
CWE-78
Published
25 Aug 2026
Updated
26 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

mcp-shell versions before 0.6.0 are vulnerable to a secure mode bypass. The allowlist validator does not block the "!" character, so an attacker who can call the shell_exec tool can pass a git command that defines a shell alias and runs arbitrary OS commands as the mcp-shell process user. Upgrade to version 0.6.0 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.4 High 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 19th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:48 UTC First seen by agentprime
  2. 31 Oct 2026, 14:48 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.