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.
Published: 2026-11-06
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: Unauthenticated remote command execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the fast-agent serve command, which, by default, binds an HTTP interface to 0.0.0.0 on port 8000 without requiring authentication. An attacker who can reach the /mcp endpoint can invoke configured tools, and if the server is started with the --shell flag, the agent can execute arbitrary operating‑system commands as the server user. This is a classic missing‑authentication flaw (CWE‑306) combined with an OS command‑injection risk (CWE‑78). The consequence is remote code execution and potential full compromise of the machine on which the agent is running, as well as exposure of the model and MCP tools if the shell is not enabled.

Affected Systems

Affected is the fast-agent framework from evalstate. All releases prior to v0.7.21 are vulnerable. The issue was fixed in version 0.7.21, so any deployment of fast‑agent older than that version is at risk.

Risk and Exploitability

With a CVSS score of 6.4 the vulnerability is of moderate severity. Because the default configuration exposes the service to any network host, an attacker only needs network reach to the host’s port 8000 and no authentication to exploit the flaw. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating that there are no publicly known exploits yet. However, the lack of authentication combined with the ability to run arbitrary commands makes the attack highly impactful once exploited.

Generated by OpenCVE AI on November 6, 2026 at 22:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade fast‑agent to version 0.7.21 or later, where the default binding is restricted and authentication is enforced.
  • If an upgrade cannot be performed immediately, restrict external access to port 8000 by configuring firewall rules or binding the server to localhost or an internal IP address.
  • Disable the --shell option or remove the tools/local_shell_executor.py tool from the agent configuration to eliminate the ability to execute arbitrary OS commands.

Generated by OpenCVE AI on November 6, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
Weaknesses CWE-306
CWE-78
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-06T20:55:55.852Z

Reserved: 2026-09-29T14:18:02.921Z

Link: CVE-2026-102610

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T21:17:05.677

Modified: 2026-11-06T21:17:05.677

Link: CVE-2026-102610

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T22:30:12Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')