Description
fast-agent is a framework for building, running, and evaluating AI agents with Model Context Protocol support. Prior to 0.7.21, fast-agent serve uses HTTP transport bound to 0.0.0.0 on port 8000 without authentication, allowing any network client that can reach the /mcp endpoint to invoke the exposed agent tool. When the server is started with --shell, the agent can call the local execute tool implemented by tools/local_shell_executor.py, so an unauthenticated remote client can cause operating-system commands to run as the server user; without --shell, the client can still consume the operator's model and configured MCP tools. The defaults are defined in cli/commands/serve.py and mcp/server/agent_server.py, and the non-interactive server permission prompt does not prevent the described access. This issue is fixed in version 0.7.21.
Severity (CVSS)
| Base score | 6.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-306 — CWE-306: Missing Authentication for Critical Function
Affected products
| Vendor | Product | Versions |
|---|---|---|
| evalstate | fast-agent | < 0.7.21 [affected] |
References
- https://github.com/evalstate/fast-agent/security/advisories/GHSA-9vhv-g5hf-m7m7 (x_refsource_CONFIRM)
- https://github.com/evalstate/fast-agent/pull/828 (x_refsource_MISC)
- https://github.com/evalstate/fast-agent/commit/ba99f89c3ec7f1ef1c8b1ebce381c12b60dfea29 (x_refsource_MISC)
- https://github.com/evalstate/fast-agent/releases/tag/v0.7.21 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 07 Nov 2026 08:06 UTC.