← All advisories

CVE-2026-130169criticalSecret exposure2026-11-23

CVE-2026-130169 and CVE-2026-132257: AutoGPT Platform shipped a public default JWT secret that let anyone forge user or admin tokens, and a public default Fernet key that decrypts every stored OAuth token and API key (fixed 0.8.0)

Self-hosted AutoGPT Platform shipped two secrets that were public in the repository's .env.default files. JWT_VERIFY_KEY (versions 0.6.26 to before 0.8.0) is an HS256 key, so anyone who knew it could sign tokens with any user id and the admin role and get full access to that user's agents, run history, stored credentials and workspace files, plus every admin route, without logging in. ENCRYPTION_KEY (0.6.23 to before 0.8.0) is the Fernet key that encrypts every user's OAuth tokens, API keys and integration credentials, so anyone who got a copy of the database of a deployment that kept it could decrypt them all. Docker Compose loaded backend/.env.default as its base, so following the setup guide meant running with these values. Fixed in 0.8.0; deployments that used the defaults should also rotate.

01.

What it is

CVE-2026-130169 (GHSA-24q6-6h89-f9p7, CWE-287/330/798): autogpt_libs/auth/config.py read JWT_VERIFY_KEY from the environment and .env.default shipped a placeholder value; jwt_utils.py only checked the signature, the audience and role == admin for admin routes. Affects 0.6.26 through 0.7.4 per NVD (advisory range >= 0.6.26, < 0.8.0).

Per the advisory, forged tokens could read and change any user's agent graphs, execution history, stored credentials and workspace files, use admin-only routes (credit management, rate limits) and run agents billed to any user.

CVE-2026-132257 (GHSA-57mf-wqwq-6g6x, CWE-321/798): backend/util/encryption.py's JSONCryptor uses ENCRYPTION_KEY to encrypt the User.integrations column; .env.default shipped a fixed Fernet key. Exposure needs read access to the database (for example a leaked backup), after which every user's OAuth access and refresh tokens and LLM provider keys can be decrypted.

Fixes in 0.8.0: new installs no longer ship a pre-filled token key and tokens signed with a shared secret are rejected (PR #14519, commit 18fde1b); ENCRYPTION_KEY ships blank, the backend refuses to start with the retired default, and a key-rotation command re-encrypts stored credentials (PR #14518, commit 8da6c93).

The GitHub advisories were published on 5 October 2026; NVD published the CVEs on 23 November 2026. Version numbers are Platform releases (Git tags autogpt-platform-beta-v<version>).

02.

How to check

  1. Check which AutoGPT Platform release you run (Git tag autogpt-platform-beta-v<version> or the significantgravitas/autogpt image tag): anything before 0.8.0 is affected.
  2. Compare JWT_VERIFY_KEY and ENCRYPTION_KEY in your environment with the values in the repository's .env.default files; if they match, assume both were exposed.
  3. Review admin actions, credit changes and agent runs for activity you don't recognise.
03.

How to fix

  1. Upgrade AutoGPT Platform to 0.8.0 or later.
  2. If the default ENCRYPTION_KEY was ever used, set a new random key and run the key-rotation command, then revoke and reconnect the OAuth integrations and rotate the API keys users stored.
  3. If the default JWT key was used, treat every account (including admin) as possibly impersonated: invalidate sessions and review stored credentials and agents.
# do your running values match the shipped defaults?
grep -E '^(JWT_VERIFY_KEY|ENCRYPTION_KEY)=' autogpt_platform/.env autogpt_platform/backend/.env 2>/dev/null
grep -E '^(JWT_VERIFY_KEY|ENCRYPTION_KEY)=' autogpt_platform/.env.default autogpt_platform/backend/.env.default 2>/dev/null
04.

Sources

Related on VibeVulns
More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.