AutoGPT SSRF and Path Injection Vulnerabilities
2026-11-24
Server-side request forgery in AutoGPT Platform 0.7.1 through 0.8.4 lets an authenticated, signed-up user reach services bound to the IPv6 loopback (::1) or a dual-stack wildcard because the outbound blocklist rejects neither the IPv6 unspecified address :: nor several IPv6 forms that embed a blocked IPv4 address (6to4, NAT64, Teredo, deprecated IPv4-compatible). Linux routes a connection to :: to ::1, so the SQL Query and Send Email blocks reach internal listeners by accepting :: as a literal host, while URL-fetching blocks, web fetch, MCP servers, webhooks and OAuth need a hostname whose only AAAA record is ::. Exposure is deployment-dependent: a backend run directly on a host (where PYRO_HOST defaults to localhost and unauthenticated RPC services listen on ::1) or a same-host database/SMTP service on ::1 is reachable, whereas the stock Docker Compose setup and single-container image bind internal services to IPv4 only and are not exposed. No public exploit has been identified at time of analysis; vendor-released patch: 0.9.0.
AutoGPT Platform releases 0.7.1 through 0.8.4 pass chat and graph prompt text through the Claude Code CLI without disabling its slash-command and @<path> file-mention preprocessing, so that text is interpreted by the CLI before the model ever sees it, outside AutoPilot's tool allow-list and PreToolUse hooks. An authenticated actor - a signed-in user, a member of a linked server/group/channel whose messages execute on the linking owner's account, a graph author, or indirect tool output carried into later turn history - can make the CLI attach host files readable by the copilot executor to the model request and can run CLI commands that compact or clear the session, switch models, or edit the CLI's settings.json. Exploitation is bounded and multi-tenant in nature: on hosted, single-container, or Docker-Compose deployments the reach extends to other users' workspaces, stored CLI session transcripts, and the Claude credentials file when subscription mode is used, while isolated single-user self-hosts are far less exposed. The flaw is fixed in 0.9.0, is not listed in CISA KEV, and no public exploit was identified at time of analysis.
Multitenant AutoGPT Platform deployments running versions 0.7.1 through 0.8.3 can be tricked into executing paid AutoPilot blocks on the operator's server-resolved platform credential while charging the caller nothing. An authenticated platform user (CVSS PR:L) supplies a syntactically valid placeholder credential object such as {"id":"x","provider":"openai","type":"api_key"} in the run_capability tool input; AutoPilot prices the call from that model-supplied input, so the credential-specific price rule matches nothing, block_usage_cost() returns zero, and both the has_cost balance check and the credit debit are skipped even though execution proceeds with the real operator credential. The vendor advisory documents a proof-of-concept walkthrough that was retested against v0.9.0 to confirm the fix; no CISA KEV listing or confirmed active exploitation is reported, and the impact is billing/financial-integrity abuse rather than availability or confidentiality loss (A:N, C:N, I:L).