Skip to content

AAK-MCP-FASTAGENT-CVE-2026-102610-001: fast-agent 0.3.18 to 0.7.20: fast-agent serve exposes the agent over MCP on every interface with no authentication

Severity
MEDIUM
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
FastAgentServeMcpNoAuth

What it detects

fast-agent (PyPI fast-agent-mcp, evalstate/fast-agent), a framework for building and running agents with MCP support, serves an agent as an MCP server with fast-agent serve. Before 0.7.21 that command defaulted to the HTTP transport on 0.0.0.0, port 8000, with no authentication unless FAST_AGENT_SERVE_OAUTH named a provider, so any host that reached the port could call the agent tool and spend the operator's model and configured MCP servers; started with --shell (-x), the agent also holds a local execute tool, which then runs operating-system commands as the server's user for that caller (CVE-2026-102610, CVSS 3.1 6.4, CWE-306, CWE-78, GHSA-9vhv-g5hf-m7m7). Checked in the PyPI wheels: 0.3.17 has no serve command; 0.3.18 adds cli/commands/serve.py with the HTTP transport and --host 0.0.0.0 as defaults, as 0.7.20 still has; 0.7.21 defaults to 127.0.0.1 and warns before serving another host without authentication.

How to fix

Upgrade fast-agent-mcp to 0.7.21 or later and pin it. Until then pass --host 127.0.0.1 to fast-agent serve or serve over stdio, and never combine --shell with a listener another host can reach.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-FASTAGENT-CVE-2026-102610-001

Limitations

Reports a PyPI reference to fast-agent-mcp from 0.3.18 below 0.7.21 that states a version: a requirements file, pyproject.toml, a lockfile, or a uvx launch in an MCP config, reporting a range that admits an affected version. latest was 0.10.54 on 2026-11-11 and states no version, so an unpinned uvx fast-agent-mcp is not reported. It reads the version, not whether serve runs, on which host or with --shell, so a project that only runs agents in process, or serves on 127.0.0.1, is reported too. Releases before 0.3.18 have no serve command and are not reported, although an agent script run with --server listens on 0.0.0.0 by default there too (checked in 0.2.10 and 0.3.17), a default 0.7.21 also changed; OSV's GHSA-9vhv-g5hf-m7m7 lists every release below 0.7.21 and reaches them through AAK-KNOWN-VULN-001 after aak update. fast-agent-acp, a launcher that requires fast-agent-mcp at its own version, is not matched by name; a lockfile records the fast-agent-mcp it pulls in. 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-102610
  • OWASP MCP Top 10: MCP07:2025 (Insufficient Authentication & Authorization), MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering)
  • OWASP Agentic Top 10: ASI03 (Identity and Privilege Abuse), ASI04 (Agentic Supply Chain Vulnerabilities), ASI05 (Unexpected Code Execution (RCE))
  • Adversa AI MCP Top 25 (AAK-defined ids): ADV-AUTH-01 (Missing Authentication)
  • CSA AI Controls Matrix (AICM): IAM-01, 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-FASTAGENT-CVE-2026-102610-001.md: the page then shows that text, with the registry reference appended under it.