CVE-2026-130169: AutoGPT: Hardcoded Default JWT Secret Enables Complete Authentication Bypass
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. In versions 0.6.26 through 0.7.4, AutoGPT Platform ships a publicly known, hardcoded default JWT verification key in backend/.env.default and autogptplatform/.env.default. Because HS256 is symmetric, anyone who knows the secret can forge valid JWTs for any user or for the admin role, bypassing authentication and authorization without user interaction. This issue is fixed in version 0.8.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
AutoGPT Platformto a version that resolves this vulnerability.Fixed in 0.8.0
Event History
Frequently Asked Questions
Which deployments are affected?
AutoGPT Platform versions 0.6.26 through 0.7.4 are affected when they use the publicly known hardcoded default JWT verification key shipped in backend/.env.default and autogpt_platform/.env.default.
What does an attacker need to exploit this issue?
An attacker only needs knowledge of the hardcoded default secret. They can use it to forge HS256 JWTs for arbitrary users or the admin role, with no credentials or user interaction required.
Are default configurations affected?
Yes. The issue is caused by the default JWT verification key included with the platform, so deployments that retained that default are exposed.
What should teams do if they cannot immediately upgrade?
Replace the default JWT verification key with a non-public secret. This is necessary because the known default key can be used to create tokens that bypass both authentication and authorization.
How can administrators determine whether they are affected?
Check whether the deployment is running a version from 0.6.26 through 0.7.4 and whether its JWT verification key remains the default value supplied in backend/.env.default or autogpt_platform/.env.default. Version 0.8.0 fixes the issue.