Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to shared AutoGPT Platform
-
DeliveryCreate workflow containing SendEmailBlock
-
ExploitSupply internal IP and target port as smtp_server/smtp_port inputs
-
InstallExecute workflow
-
C2Backend opens raw TCP to internal target via smtplib.SMTP()
-
ExecuteTCP banner embedded in exception message returned as visible block output
-
ImpactInternal service fingerprinted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an account with at least low-privileged authenticated access (CVSS PR:L) on a shared AutoGPT Platform deployment - this is the hard prerequisite, meaning single-user self-hosted instances where the sole operator is also the attacker carry no meaningful risk. The attacker must have the ability to create and execute workflows that include SendEmailBlock with custom smtp_server and smtp_port inputs; if this block is disabled or gated behind stricter role permissions, exploitation is blocked. There is no requirement for a real SMTP server at the target - any open TCP port will return a banner or a connection response that surfaces in block output. Exploitation is bounded by the network reachability of the AutoGPT backend host: only hosts accessible from the server's network segment are enumerable. The SSRF bypass exists specifically because SendEmailBlock does not route through the validate_url_host() and BLOCKED_IP_NETWORKS controls in backend/util/request.py; all other AutoGPT blocks with outbound connection capability are protected by these controls. |
| Impact | The CVSS 3.1 base score of 5.0 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N reflects a network-reachable, low-complexity attack requiring only low-privilege authentication, with changed scope - meaning the impact extends beyond AutoGPT itself into internal infrastructure. The changed scope is the most consequential signal here: internal services, cloud metadata endpoints, and private network hosts all become reachable reconnaissance targets. Confidentiality impact is rated Low (C:L), correctly reflecting that while TCP banners and port state are retrievable, full data exfiltration is not directly enabled. No EPSS score was provided in the input and cannot be inferred. No KEV listing exists and no public exploit has been identified at time of analysis, placing real-world exploitation risk lower than the CVSS scope-changed score might suggest in isolation. However, real-world risk is meaningfully elevated for cloud-hosted or multi-tenant AutoGPT deployments - the standard SaaS deployment model - where AWS/GCP/Azure metadata services and private subnets are reachable from the backend host. Single-user self-hosted deployments where the operator is the only authenticated user face negligible risk, since the threat model collapses. The non-blind character of the SSRF (banner retrieval via exception output) significantly increases reconnaissance value relative to a blind SSRF of equivalent CVSS score. |
| Exploit ScenarioDerived | An authenticated low-privileged user on a shared AutoGPT deployment creates a workflow containing SendEmailBlock and sets smtp_server to an internal target - such as 169.254.169.254 (AWS metadata), an internal database host, or a private subnet address - with various smtp_port values (e.g., 22, 3306, 6379). Each workflow execution causes the AutoGPT backend to open a raw TCP connection to the target; smtplib captures the TCP banner or connection error and the execution framework surfaces this in the block's output, revealing port state and service identity. No public exploit identified at time of analysis, but the attack requires only standard workflow creation capabilities and knowledge of the vulnerability, with no specialized tooling needed given AC:L complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 19, 2026
Server-side request forgery in AutoGPT Platform versions 0.1.0 through 0.6.51 allows any authenticated user on a shared deployment to conduct non-blind internal network port scanning and service fingerprinting by exploiting the SendEmailBlock's unvalidated SMTP connection handling. The block accepts user-supplied smtp_server and smtp_port inputs and passes them directly to Python's smtplib.SMTP(), completely bypassing the platform's dedicated SSRF defenses - the validate_url_host() function and BLOCKED_IP_NETWORKS blocklist in backend/util/request.py that every other block observes. Because smtplib surfaces TCP banners in exception messages that are persisted as visible block output, this is a non-blind SSRF, giving attackers readable reconnaissance data about internal hosts and services. No public exploit identified at time of analysis; vendor-released patch is confirmed in version 0.6.52.
RemediationAI
Upgrade to AutoGPT Platform version 0.6.52, the vendor-confirmed patched release available at https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.6.52 and documented in the security advisory at https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-4jwj-6mg5-wrwf. For operators unable to patch immediately, restrict workflow creation and execution permissions for SendEmailBlock to trusted users only - since exploitation requires PR:L authenticated access, tightening role-based access controls on block usage directly reduces the attack surface, though this may limit legitimate email automation functionality. As a network-level compensating control, apply egress firewall rules on the AutoGPT backend host to block outbound TCP connections to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), link-local (169.254.0.0/16), and cloud metadata endpoints (169.254.169.254:80/443); note that this may interfere with SendEmailBlock reaching internal SMTP relays if any are hosted in private ranges. Upgrading to 0.6.52 is the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-918 (Server-Side Request Forgery) is the root cause: user-controlled data is used to initiate outbound TCP connections server-side without sanitization. AutoGPT Platform's architecture includes a purpose-built SSRF mitigation layer in backend/util/request.py, implementing validate_url_host() backed by a BLOCKED_IP_NETWORKS blocklist that guards against connections to RFC 1918 private ranges, loopback (127.0.0.0/8), link-local (169.254.0.0/16), and cloud metadata endpoints like 169.254.169.254. SendEmailBlock in autogpt_platform/backend/backend/blocks/email_block.py is architecturally out of compliance with this control - it calls Python's standard library smtplib.SMTP(smtp_server, smtp_port) directly using per-execution block inputs with no IP validation step. Crucially, smtplib reads and stores the TCP banner from the connection attempt, and the AutoGPT execution framework persists exception messages as user-visible block output, upgrading this from blind to non-blind SSRF. The affected CPE is cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:*, covering all platform releases from 0.1.0 through 0.6.51.
Know when Autogpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.1.0 through 0.6.51, SendEmailBlock in autogpt_platform/backend/backend/blocks/email_block.py accepts a user-supplied smtp_server (string) and smtp_port (integer) as per-execution block inputs, then passes them directly to Python's smtplib.SMTP() to open a raw TCP connection with no IP address validation. This completely bypasses the platform's hardened SSRF protections in backend/util/request.py - the validate_url_host() function and BLOCKED_IP_NETWORKS blocklist that every other block uses to block connections to private, loopback, link-local, and cloud metadata addresses. An authenticated user on a shared AutoGPT deployment can use this to perform non-blind internal network port scanning and service fingerprinting: smtplib reads the target's TCP banner on connect and embeds it in the exception message, which is persisted as user-visible block output via the execution framework. This issue has been fixed in version 0.6.52.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Related Vulnerabilities in AutoGPT DoS, Deserialization, and SSRF Flaws
View all 3DOM-based cross-site scripting in AutoGPT versions prior to 0.6.62 allows remote attackers to execute arbitrary JavaScri
Resource exhaustion denial-of-service in Significant Gravitas AutoGPT versions prior to 0.6.63 allows remote unauthentic
Denial of service in Significant-Gravitas AutoGPT prior to 0.6.63 allows remote attackers to exhaust host disk space by
Denial of service in AutoGPT prior to 0.6.63 allows remote unauthenticated users to exhaust host disk space by chaining
Denial of service in AutoGPT versions prior to 0.6.63 allows remote unauthenticated attackers to exhaust disk space on t
Server-side request forgery in the AutoGPT Platform (versions prior to 0.6.52) lets an authenticated user abuse the Send
Webhook signature verification bypass in AutoGPT Platform before 0.6.70 allows unauthenticated remote attackers to trigg
Disk exhaustion denial-of-service in Significant Gravitas AutoGPT prior to version 0.6.63 allows authenticated platform
Authenticated session hijacking in Significant Gravitas AutoGPT versions 0.6.36 through 0.6.50 allows any logged-in user
Improper access control in AutoGPT’s webhook ping endpoint allows any authenticated user to enumerate other users’ webho
EUVD-2026-30822
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB