AutoGPT Platform
CVE-2026-132257
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain database contents (backup leak or DB read)
-
DeliveryRetrieve public Fernet key from repo
-
ExploitDecrypt User.integrations column
-
ExecutionExtract OAuth tokens and API keys
-
ImpactImpersonate users on connected services
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
|
| Exploitation Conditions | Exploitation requires two specific conditions. First, the deployment must be a multi-container AutoGPT Platform install (v0.6.23 to <0.8.0) that used the default ENCRYPTION_KEY - this was the code path for Docker Compose, which always loaded backend/.env.default as its base env file with backend/.env only an optional override, so standard setups ran the public key unless the operator explicitly supplied their own. Second, the attacker must obtain read access to the deployment's database (the User.integrations column), e.g. through a database backup leak or direct database compromise. Key limiting factors: the single-container Docker image (published from v0.7.1) generates a unique ENCRYPTION_KEY per install and is NOT affected; deployments that overrode the default key are not exposed; and no access to the live application is sufficient by itself - the encrypted store must be exfiltrated. There are no workarounds short of upgrading to v0.8.0 (which ships ENCRYPTION_KEY blank, refuses to start with the retired default, and provides a key-rotation command to re-encrypt stored credentials); if the default was ever used, the key must be rotated. |
| Impact | This is a genuine high-priority credential-exposure flaw, but its real-world risk is gated by a precondition that the raw CVSS score obscures. The vendor-supplied CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N, 8.2) encodes network vector with high attack complexity and low privileges, yet the advisory makes clear the actual mechanism is not a remote exploit against the running application: an attacker must first obtain the contents of the User.integrations database column (for example via a backup leak or database compromise), after which decryption is trivial because the Fernet key (dvziYgz0KSK8FENhju0ZYi8-fRTfAdlz6YLhdB_jhNw=) was committed to the public repository. So the 'AC:H' and network framing describe the difficulty of reaching the data store rather than any complexity in the exploit itself - once the ciphertext is in hand, recovery of every user's OAuth tokens and API keys is deterministic and scriptable. No EPSS score and no KEV status were provided in the intelligence set, and there is no indication of active exploitation; the vuln.today priority is 'this_week', consistent with a serious issue warranting prompt remediation rather than emergency response. A full public proof-of-concept (including a reproduction archive) is published in the GHSA advisory, which raises practical risk for any operator who ran the affected multi-container deployment with the default key. The signals are consistent rather than conflicting: high technical impact, a known-public key, and a working PoC, offset by the requirement that the attacker already hold database read access. |
| Exploit ScenarioDerived | An operator self-hosts AutoGPT Platform (v0.6.23 to <0.8.0) via Docker Compose, which always loaded backend/.env.default and thus the hardcoded ENCRYPTION_KEY. An attacker obtains a leaked database backup or gains read access to the Postgres store, then uses the publicly committed Fernet key - reproduced in the GHSA advisory's PoC - to decrypt the User.integrations column, recovering every user's OAuth access/refresh tokens and LLM provider API keys and acting as those users on connected services. A working proof-of-concept and reproduction archive are published in the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Hardcoded Fernet encryption key in AutoGPT Platform 0.6.23 through 0.8.0 lets anyone who obtains read access to a deployment's database decrypt every stored OAuth token, LLM API key and integration credential in the User.integrations column. The exposure is gated by two preconditions: the install must be a multi-container (Docker Compose) deployment that ran the shipped default key - which was the base env file for standard setups - and the attacker must already have exfiltrated the encrypted credential store, for example via a database backup leak. The single-container image (from v0.7.1) generates a per-install key and is not affected; a public proof-of-concept decryption script accompanies the vendor advisory, no active exploitation is confirmed (not in CISA KEV), and triage priority is this_week with the vendor fix in v0.8.0 plus mandatory key rotation.
RemediationAI
Vendor-released patch: AutoGPT Platform 0.8.0 (Git tag autogpt-platform-beta-v0.8.0), which ships ENCRYPTION_KEY blank, refuses to start with the retired default value, and is documented in GHSA-57mf-wqwq-6g6x and the release notes at https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.8.0. Upgrading alone does not undo the exposure: if the default key was ever used, the key must be rotated and existing ciphertext re-encrypted using the rotation command added in PR #14712, because pre-0.8.0 records carry no key-version marker and cannot be migrated by changing the environment variable alone. The vendor states there are no workarounds, so operators who cannot upgrade immediately should treat their database and backups as compromised material, restrict and audit read access to the database and any backup storage, and plan for rotation of every third-party OAuth token, refresh token and LLM provider API key that was stored under the default key - a step with significant operational cost since each integration must be re-authorized. Confirming whether a deployment is exposed requires checking the effective ENCRYPTION_KEY in the running Compose environment rather than backend/.env, since the default file was loaded as the base environment and overrides were optional; single-container installs from v0.7.1 onward are not affected and need no action.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AutoGPT Platform's backend encrypts the serialized User.integrations payload with Fernet (symmetric AES-128-CBC plus HMAC-SHA256 from Python's cryptography library) before writing it through Prisma in update_user_integrations. The key was bound to a module-level constant, ENCRYPTION_KEY = Settings().secrets.encryption_key, and a single process-wide JSONCryptor() instance consumed it, which is CWE-321 (use of a hardcoded cryptographic key, also tracked as CWE-798). Because backend/.env.default shipped the value 'dvziYgz0KSK8FENhju0ZYi8-fRTfAdlz6YLhdB_jhNw=' in the public repository and docker-compose.platform.yml always loaded that file as its base environment with backend/.env only an optional override, standard self-hosted Compose installs encrypted the entire credential store under a key any reader of the repository already knew. The same value also served as the Redis cache HMAC key fallback (GHSA-rfg2-37xq-w4m9). The design made rotation difficult: no key-version column existed on IntegrationCredential, and JSONCryptor.decrypt silently returned {} on failure, so simply changing the key made existing ciphertext undecryptable; the fix commit 8da6c931be (PR #14518) ships ENCRYPTION_KEY blank, makes the backend refuse to start with the retired default, adds pre-commit/gitleaks guards asserting .env.default files contain no working secrets, and a follow-up rotation command (PR #14712) re-encrypts stored credentials under a new key. The assessed vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N reflects that impact crosses a security boundary (S:C) - one compromised credential store yields control over every connected third-party service and LLM provider account - and that high privileges or equivalent database access are a prerequisite.
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:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Decryption is trivial once the public key and ciphertext are held (AC:L), but the attacker must first have read access to the credential database (PR:H); stolen OAuth tokens grant access to connected third-party services (S:C, C:H/I:H).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
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.
Technical POC Analysis
CWE-321 (Use of Hard-coded Cryptographic Key; advisory also flags CWE-798).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
AutoGPT Platform versions 0.6.23 through 0.8.0 ship with a hardcoded encryption key, so any multi-container deployment using the default environment file is exposed. If an attacker obtains a database backup or otherwise reads the encrypted credential store, they can decrypt all stored OAuth tokens, LLM API keys, and integration credentials, potentially leading to broad unauthorized access to connected services and data. Leadership should prioritize identifying affected deployments and rotating keys because the breach of one backup can cascade into compromise of every integrated third-party account.
No vendor-released patch identified at time of analysis. Interim mitigations: replace the default Fernet key with a unique, securely generated key and re-encrypt the User.integrations column; restrict and audit access to database backups and the credential store; rotate all stored OAuth tokens, LLM API keys, and integration credentials; migrate to the single-container image from v0.7.1 or later, which generates a per-install key and is not affected.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
AutoGPT Platform releases 0.6.26 through 0.7.4 ship a publicly known default HS256 JWT verification key in their .env.de
DOM-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
AutoGPT Platform releases 0.6.63 through 0.10.0 allow an authenticated holder of a deliberately issued, minimally scoped
Server-side request forgery in AutoGPT Platform 0.7.1 through 0.8.4 lets an authenticated, signed-up user reach services
Insecure deserialization in Significant-Gravitas AutoGPT platform versions 0.6.34 through 0.6.51 lets an attacker who ca
Forged webhook deliveries to an AutoGPT Platform beta Exa Search Monitor trigger's ingress URL can launch one run of the
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB