AAK-MCP-TOOLBOX-CVE-2026-102242-001: Google MCP Toolbox 1.2.0 to 1.9.0: local-path checks follow symlinks out of the allowed roots
- Severity
- HIGH
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py- Auto-fixable
- No.
- SARIF name
McpToolboxSymlinkPathTraversal
What it detects
Google MCP Toolbox for Databases (googleapis/mcp-toolbox), which MCP clients start through the npm launcher @toolbox-sdk/server, checks the local paths its Cloud Storage tools read and write (download_object, upload_object, and the allowedLocalRoots option from 1.5.0) lexically, with filepath.Clean and filepath.Rel, and never resolves symlinks. A caller allowed to run those tools can follow a link inside a permitted root to read or overwrite files outside it (CVE-2026-102242, CVSS 4.0 8.6, CWE-22/CWE-59). 1.10.0 resolves links with filepath.EvalSymlinks before the check (googleapis/mcp-toolbox#3810).
How to fix
Upgrade @toolbox-sdk/server, and any toolbox binary or image, to 1.10.0 or later and pin it. Until then, on 1.5.0 to 1.9.x, set allowedLocalRoots and keep symlinks out of those directories; below 1.5.0 the option does not exist and the tools take any absolute path (CVE-2026-93328, reported as AAK-MCP-TOOLBOX-CVE-2026-93328-001), so only the upgrade helps.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-TOOLBOX-CVE-2026-102242-001
Limitations
Reports an npm reference to @toolbox-sdk/server from 1.2.0 up to 1.10.0: a package.json or lockfile entry, or the launcher in an MCP config, where an unpinned npx @toolbox-sdk/server is reported as unpinned, as for the other npm pins. The launcher runs the binary of its own version (@toolbox-sdk/server-<os>-<arch>), so its number is the server's. A toolbox binary started by path, or the container image, states no version AAK reads and is not reported. 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-102242
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP05:2025 (Command Injection & Execution)
- OWASP Agentic Top 10: ASI02 (Tool Misuse and Exploitation), ASI04 (Agentic Supply Chain Vulnerabilities)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-INJECT-02 (Path Manipulation)
- CSA AI Controls Matrix (AICM): AIS-07, 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-TOOLBOX-CVE-2026-102242-001.md: the page then shows that text, with the registry reference appended under it.