AutoGPT credential decryption via hardcoded encryption key
Affects self-hosted AutoGPT from 0.6.23 before 0.8.0 that kept the default ENCRYPTION_KEY from backend/.env.default, including Docker Compose setups. Fixed in 0.8.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 0.8.0
- Who is exposed
- Specific setups only
Summary
AutoGPT ships with a hardcoded default Fernet encryption key, so anyone with read access to the database of a deployment using that default key can decrypt stored OAuth tokens, API keys, and integration credentials. The flaw can be reached remotely over the network with low-privilege login and no user action.
Written by a model
Original description
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.
Who should check
Teams self-hosting AutoGPT Platform (autogpt-platform-beta) from 0.6.23 before 0.8.0 that ran the default ENCRYPTION_KEY from backend/.env.default
“On a self-hosted deployment that used the default key”
What to do
Check whether your setup matches what the bug needs.
Deployment used the shipped default ENCRYPTION_KEY from backend/.env.default Setup followed with Docker Compose, which loads backend/.env.default as the base env fileUpgrade to a fixed version: 0.8.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-132257 (AutoGPT: Hardcoded Default Fernet Encryption Key Exposes All Stored OAuth Credentials), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-132257 (entry last updated 2026-11-23):
Affected:
- Significant-Gravitas AutoGPT: from 0.6.23, fixed in 0.8.0
Fixed versions: 0.8.0.
Conditions (all must be true for the bug to be hit):
- Deployment used the shipped default ENCRYPTION_KEY from backend/.env.default (source: https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-57mf-wqwq-6g6x)
- Setup followed with Docker Compose, which loads backend/.env.default as the base env file (source: https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-57mf-wqwq-6g6x)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, low-privilege login, no user action.
CISA KEV: CVE-2026-132257 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-132257 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-57mf-wqwq-6g6x
- https://github.com/Significant-Gravitas/AutoGPT/pull/14518
- https://github.com/Significant-Gravitas/AutoGPT/commit/8da6c931be8b845bf2a51bc0a45cdfc718a08fc0
- https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.8.0
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-132257
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-132257"}.Affected versions
- Significant-Gravitas AutoGPTFrom 0.6.23 · fixed in 0.8.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.2/10CVSS 8.2
- No patch0/5No signal
What would change the score
- Would score about 66 if added to CISA KEV
- Would score about 61 if CISA's SSVC rates exploitation active
- Would score about 23 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · Significant-Gravitas/AutoGPT · Advisory GHSA-57mf-wqwq-6g6x |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-132257 |
| Record | NVD · CVE-2026-132257 |
| Other links 3 | |
| Repository | GitHub · Significant-Gravitas/AutoGPT · Pull request #14518 |
| Repository | GitHub · Significant-Gravitas/AutoGPT · Commit 8da6c931 |
| Repository | GitHub · Significant-Gravitas/AutoGPT · Release autogpt-platform-beta-v0.8.0 |
Questions about CVE-2026-132257
Is CVE-2026-132257 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
AutoGPT ships a default Fernet encryption key in backend/.env.default. Anyone who obtained the database contents, for example through a backup leak, could decrypt every user's stored OAuth access and refresh tokens and LLM provider API keys, and act as those users on connected services.
Source: github.com
Which versions are affected by CVE-2026-132257?
AutoGPT: from 0.6.23 before 0.8.0.
Source: cve.now feed data
Am I affected, and how do I check?
Affected are AutoGPT versions from 0.6.23 before 0.8.0 running a self-hosted deployment that used the shipped default ENCRYPTION_KEY. Docker Compose always loads backend/.env.default as its base env file, so compare the ENCRYPTION_KEY value in your deployment's env settings with the default in backend/.env.default to see whether the default is in use.
Source: github.com
How do I fix CVE-2026-132257?
Upgrade AutoGPT to 0.8.0 or later, which is the listed fixed version.
Source: github.com
Related
- CVE-2026-130169AutoGPT: Hardcoded Default JWT Secret Enables Complete Authentication Bypass
- CVE-2026-55237AutoGPT SignUp Page has DOM-Based XSS and Open Redirect
- CVE-2025-32437AutoGPT has a DoS vulnerability in MediaDurationBlock
- CVE-2025-32424AutoGPT has a DoS vulnerability in ScreenshotWebPageBlock
- CVE-2025-32422AutoGPT has a DoS vulnerability in FileStoreBlock with StepThroughItemsBlock
- CVE-2025-32392AutoGPT has a DoS vulnerability in LoopVideoBlock
No corrections so far. Something wrong on this page? Report an error.