CVE-2026-130171 in AutoGPT
Summary
by MITRE • 11/24/2026
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.6.5 through 0.10.0, marketplace and shared agents can capture a user's saved SMTP or database login. SendEmailBlock and SQLQueryBlock logged in with the running user's saved SMTP or database credential to whatever server the graph's author put in the node's inputs, with no check that the login belonged to that server. Anyone who publishes a marketplace listing or shares an agent file can capture the saved login of each user who adds it to their library and runs it once, in plaintext. This issue is fixed in version 0.11.0.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified within AutoGPT versions 0.6.5 through 0.10.0 represents a critical failure in input validation and credential management for workflow automation agents. As an open-source platform designed to create, deploy, and manage continuous artificial intelligence agents, AutoGPT allows users to share marketplace listings or agent files with the community. The core technical flaw resides in how specific blocks, namely SendEmailBlock and SQLQueryBlock, handle authentication credentials during execution. When a user imports and runs an agent from these sources, the system automatically attempts to log into SMTP servers for email sending or database servers for query execution using the running user's saved credentials. Crucially, there is no verification mechanism to ensure that the target server specified in the node inputs matches the server associated with those stored credentials. This lack of domain validation allows any agent author to direct these blocks toward arbitrary external hosts controlled by malicious actors.
The operational impact of this flaw is severe, resulting in the exfiltration of sensitive authentication data in plaintext. Because the system does not validate that the login belongs to the intended server, a user who adds a compromised marketplace listing or shared agent file to their library and executes it once will inadvertently transmit their SMTP username and password or database credentials to an attacker-controlled endpoint. This constitutes a significant breach of confidentiality, as users may reuse passwords across multiple services or use high-privilege accounts for development purposes. The attack vector is particularly dangerous because it exploits the trust relationship between the user and the platform's automation capabilities, turning legitimate workflow execution into a credential harvesting mechanism without any explicit consent from the end-user regarding data transmission to third-party servers.
From a classification perspective, this vulnerability aligns with CWE-209, which describes the generation of an error message that includes sensitive information, although in this case, it is more accurately categorized under CWE-798, Use of Hard-coded Credentials or CWE-359, Exposure of Private Information to an Unauthorized Actor. The attack pattern corresponds to ATT&CK technique T1046, Network Service Discovery, combined with T1005, Data from Local System, as the attacker leverages legitimate network services to harvest stored credentials. Furthermore, it reflects principles found in CWE-922, Insecure Storage of Credentials, due to the reliance on saved plaintext or weakly protected credentials that are then transmitted insecurely over the network without destination validation.
Mitigation for this issue was implemented in version 0.11.0 by introducing strict server verification logic before executing credential-dependent operations. For organizations still running older versions, immediate isolation of untrusted marketplace agents is required until an upgrade can be performed. Long-term remediation strategies should include implementing a allow-listing mechanism where only pre-approved SMTP and database servers are permitted for automated access. Additionally, adopting the principle of least privilege by using service accounts with restricted permissions rather than personal user credentials reduces the blast radius if such a vulnerability were to exist in other contexts. Users must also be educated on the risks associated with executing unverified third-party automation scripts, ensuring that security awareness complements technical controls within the workflow management ecosystem.