Skip to main content

AutoGPT Platform CVE-2026-132257

HIGH
Use of Hard-coded Cryptographic Key (CWE-321)
2026-11-23 GitHub_M
8.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain database contents (backup leak or DB read)
  2. Delivery
    Retrieve public Fernet key from repo
  3. Exploit
    Decrypt User.integrations column
  4. Execution
    Extract OAuth tokens and API keys
  5. Impact
    Impersonate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 8.2 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

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).

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
popular open-source project but limited production self-hosted platform deployments
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:*
CVE-2026-130169 CRITICAL
10.0 Nov 23

AutoGPT Platform releases 0.6.26 through 0.7.4 ship a publicly known default HS256 JWT verification key in their .env.de

CVE-2026-55237 HIGH
8.8 Jun 18

DOM-based cross-site scripting in AutoGPT versions prior to 0.6.62 allows remote attackers to execute arbitrary JavaScri

CVE-2025-32392 HIGH
8.7 Jun 18

Resource exhaustion denial-of-service in Significant Gravitas AutoGPT versions prior to 0.6.63 allows remote unauthentic

CVE-2025-32437 HIGH
8.7 Jun 18

Denial of service in Significant-Gravitas AutoGPT prior to 0.6.63 allows remote attackers to exhaust host disk space by

CVE-2025-32424 HIGH
8.7 Jun 18

Denial of service in AutoGPT prior to 0.6.63 allows remote unauthenticated users to exhaust host disk space by chaining

CVE-2025-32422 HIGH
8.7 Jun 18

Denial of service in AutoGPT versions prior to 0.6.63 allows remote unauthenticated attackers to exhaust disk space on t

CVE-2026-56663 HIGH
8.5 Jun 26

Server-side request forgery in the AutoGPT Platform (versions prior to 0.6.52) lets an authenticated user abuse the Send

CVE-2026-72922 HIGH
8.2 Aug 11

Webhook signature verification bypass in AutoGPT Platform before 0.6.70 allows unauthenticated remote attackers to trigg

CVE-2026-132264 HIGH
8.1 Nov 24

AutoGPT Platform releases 0.6.63 through 0.10.0 allow an authenticated holder of a deliberately issued, minimally scoped

CVE-2026-130178 HIGH
7.7 Nov 24

Server-side request forgery in AutoGPT Platform 0.7.1 through 0.8.4 lets an authenticated, signed-up user reach services

CVE-2026-33233 HIGH
7.6 May 19

Insecure deserialization in Significant-Gravitas AutoGPT platform versions 0.6.34 through 0.6.51 lets an attacker who ca

CVE-2026-133456 HIGH
7.5 Nov 24

Forged webhook deliveries to an AutoGPT Platform beta Exa Search Monitor trigger's ingress URL can launch one run of the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy