CVE-2026-132257: AutoGPT: Hardcoded Default Fernet Encryption Key Exposes All Stored OAuth Credentials
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. From versions 0.6.23 and above, before 0.8.0, AutoGPT Platform ships a hardcoded default Fernet encryption key in backend/.env.default, which encrypts every user's OAuth tokens, API keys, and integration credentials in the User.integrations column. Anyone with read access to the database of a deployment using the default key can decrypt the stored credentials. This issue is fixed in version 0.8.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.8.0
Event History
Frequently Asked Questions
Which deployments are exposed?
AutoGPT Platform deployments running versions 0.6.23 and above but before 0.8.0 are affected if they use the hardcoded default Fernet key shipped in backend/.env.default.
What access does an attacker need to recover credentials?
An attacker needs read access to the deployment database. With database access and the default key in use, they can decrypt OAuth tokens, API keys, and other integration credentials stored in the User.integrations column.
What should be prioritized for remediation?
Upgrade to version 0.8.0. Because affected stored credentials may be recoverable by anyone who obtained database read access, review database access and treat stored OAuth tokens, API keys, and integration credentials as potentially exposed.