AAK-MCP-ELVIX-CVE-2026-108542-001: @elvix.is/sdk MCP server below 0.10.2: a tool's path argument can send the elvix API key to any host
- Severity
- MEDIUM
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py- Auto-fixable
- No.
- SARIF name
ElvixSdkMcpPathSsrfLeaksApiKey
What it detects
@elvix.is/sdk (npm; 021is/elvix-sdk) is a sign-in SDK that also ships an MCP server (elvix mcp, elvix-mcp), whose tools call the elvix API with the configured ELVIX_API_KEY as a Bearer token. From 0.1.0 to 0.10.1 the shared tool handler builds the request URL as new URL(args.path ?? tool._meta.path, baseUrl), so an absolute URL in the caller-supplied path replaces the base URL, and the server sends the request, API key included, to a loopback, internal, cloud-metadata or attacker host (CVE-2026-108542, CVSS 3.1 6.3, CWE-918). Checked in the npm tarballs: 0.1.0 and 0.10.1 build the URL this way, and 0.10.2 (ed0c622, 2026-08-30) binds every tool to its manifest path, refuses a URL outside the configured origin and does not follow redirects. npm marks 0.0.0 to 0.10.1 deprecated with a security notice; 0.0.0 is an empty placeholder with no MCP server.
How to fix
Upgrade @elvix.is/sdk to 0.10.2 or later and pin it. Then rotate any elvix API key that was used with the MCP server, as the package's deprecation notice asks.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-ELVIX-CVE-2026-108542-001
Limitations
Reports @elvix.is/sdk from 0.1.0 below 0.10.2 in a package.json, lockfile or MCP config, and an unpinned reference such as bunx @elvix.is/sdk mcp, which this scanner reads as exposed. The pin reads the version, not whether the MCP server runs, so an app that uses the SDK only for sign-in is reported too. elvix, elvix-sdk and @021is/elvix-sdk are not npm packages and are not matched. 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-108542
- 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-SSRF-01 (Internal Network 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-ELVIX-CVE-2026-108542-001.md: the page then shows that text, with the registry reference appended under it.