Database/AI/ML frameworks & serving
mcp-shell: allowed git binary runs arbitrary commands via a `!` alias, bypassing secure mode
Impact
The default policy allows /usr/bin/git, and the metacharacter checks omit !, with no per-executable argument policy. git -c alias.pwn=!<command> therefore defines a shell alias and executes arbitrary OS commands as the mcp-shell process user. The advisory is explicit that the default Docker image - mcpuser, git installed, secure mode enabled - is exploitable as shipped, so this is not a misconfiguration case. Second bypass of the same allowlist as CVE-2026-55581 and fixed by the same commit, which is the useful signal: treat pre-0.6.0 shell_exec as unbounded command execution rather than patching individual escapes.
Who can reach it
Any caller who can invoke the shell_exec MCP tool. No authentication beyond MCP connectivity in the default deployment.
What to do
Upgrade to mcp-shell 0.6.0 and restart the server; for Docker, repull or rebuild the image and restart the container. Removing git from allowed_executables closes this specific path but not the class - do not treat it as a substitute for the upgrade. Fixed in commit f31377f (PR #16).
References
Related entries
- Eclipse Che: authenticated SSRF in devfile URL fetching leaks the pod service-account tokenCVE-2026-86671 · Eclipse Che (URLFetcher in /api/scm/resolve and /api/factory/resolver)High
- Gradio: CORS origin validation bypassCVE-2024-47084 · GradioHigh
- vLLM: malformed multimodal embedding input crashes the engine and drops every in-flight requestCVE-2025-62372 · vLLM (multimodal embedding input validation)High
- LangChain: template injection in prompt templates exposes Python object internalsCVE-2025-65106 · LangChain ChatPromptTemplate (prompt template parsing)High
- vLLM: --revision pin ignored for some FunAudioChat and Tarsier2 processor, tokenizer and config loadsCVE-2026-100653 · vLLM (revision pin not propagated to FunAudioChat and Tarsier2 Hugging Face artifact loads)High
- Dagster: Vulnerability in Dagster Core prior to 1.13.1CVE-2026-41490 · DagsterHigh
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.