AAK-MCP-VOICEMODE-CVE-2026-79535-001: VoiceMode below 8.10.2 writes MCP-supplied config values into a sourced env file unescaped
- Severity
- MEDIUM
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py- Auto-fixable
- No.
- SARIF name
VoiceModeConfigEnvCommandInjection
What it detects
voice-mode (PyPI; mbailey/voicemode), a voice MCP server, lets its update_config MCP tool (and voicemode config set) write a caller-supplied value into ~/.voicemode/voicemode.env. Before 8.10.2 a value with a space or a quote was wrapped in double quotes and anything else written as is, and the service start scripts source that file, so $(...) or backticks in the value run as shell commands the next time the service starts (CVE-2026-79535, CVSS 3.1 6.3, CWE-78, GHSA-h97v-r3jw-cf6f). 8.10.2 writes only shell-inert values bare and single-quotes everything else (fix commit c1cef853).
How to fix
Upgrade voice-mode to 8.10.2 or later and pin it. Check ~/.voicemode/voicemode.env for values containing $(, backticks or ; written before the upgrade.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-VOICEMODE-CVE-2026-79535-001
Limitations
Reports a reference that names the PyPI package: a requirements, pyproject or lockfile entry, or voice-mode in an MCP config, where an unpinned uvx voice-mode is reported as unpinned, as for the other PyPI pins. It reads versions, not the env file: a value written by an older release stays in voicemode.env after the upgrade. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.
References
- CVE: CVE-2026-79535
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP05:2025 (Command Injection & Execution)
- OWASP Agentic Top 10: ASI04 (Agentic Supply Chain Vulnerabilities), ASI05 (Unexpected Code Execution (RCE))
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-INJECT-01 (Shell Injection via MCP)
- CSA AI Controls Matrix (AICM): IVS-04, STA-08
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-VOICEMODE-CVE-2026-79535-001.md: the page then shows that text, with the registry reference appended under it.