AutoGPT: Hardcoded Default JWT Secret Enables Complete Authentication Bypass
No exploitation in the wild has been reported. No fixed version is recorded.
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 autogpt_platform/.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.
Briefing
Written from the sources below · deepseek-v4.1-flash
AutoGPT Platform versions 0.6.26 through 0.7.4 ship a publicly known, hardcoded default JWT verification key in its .env.default files. Because HS256 is symmetric, anyone with that secret can forge valid tokens for any user or the admin role, bypassing authentication without user interaction.
Why it mattersAny deployment still using the default key lets unauthenticated attackers mint admin tokens; no exploitation is reported, but exposure is total where the default is unchanged.
ActionUpgrade to 0.8.0 and replace the hardcoded default JWT signing key; review logs for forged tokens.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Significant-Gravitas | >=0.6.26 <0.8.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket