AutoGPT Credential Leak: Shared Agents Expose SMTP and Database Logins

A medium-severity vulnerability in AutoGPT allows attackers to steal saved SMTP and database credentials through shared or marketplace agents. The flaw affects versions 0.6.5 through 0.10.0, where SendEmailBlock and SQLQueryBlock transmit user credentials to arbitrary servers without verifying ownership. Fixed in version 0.11.0, the issue carries a CVSS score of 6.8.
Key points
- Vulnerability CVE-2026-130171 affects AutoGPT versions 0.6.5 through 0.10.0, allowing credential theft via shared agents.
- SendEmailBlock and SQLQueryBlock transmit saved SMTP or database logins to servers specified by the agent author, bypassing ownership checks.
- Attackers can capture credentials in plaintext when users add and run malicious marketplace listings or shared agent files.
- The flaw is classified as CWE-522 (Insufficiently Protected Credentials) and carries a CVSS 3.1 score of 6.8 (Medium).
- The vulnerability is resolved in AutoGPT version 0.11.0, which includes the necessary security patches.
Background
This incident follows a series of recent security issues in AutoGPT, including a high-severity flaw allowing command injection via chat inputs (fixed in v0.9.0) and a billing logic error enabling credit inflation (fixed in v0.9.0). The current vulnerability highlights ongoing challenges in securing shared agent ecosystems and credential handling within AI automation platforms.
Why it matters
Credential theft through shared agents poses a significant risk to users of AI automation platforms, as attackers can gain access to sensitive email and database systems. The vulnerability underscores the importance of verifying server ownership for credential transmission and highlights the security risks associated with third-party agent sharing in AI workflows.
What to watch
Users of AutoGPT should upgrade to version 0.11.0 or later to mitigate the vulnerability. Organizations should audit their shared agent libraries and rotate any SMTP or database credentials that may have been exposed through affected versions. Developers should implement strict server ownership checks for credential transmission in similar platforms.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar