AutoGPT Platform Hardcoded JWT Verification Key (CVE-2026-130169)
Overview
AutoGPT Platform is a workflow automation application that uses JWTs signed with HS256. The default secret key is stored in backend/.env.default and autogpt_platform/.env.default for versions 0.6.26 to 0.7.4. Because HS256 is symmetric, possession of the key enables creation of valid tokens for any user, including admin, without user interaction. The issue is fixed in version 0.8.0.
Technical Details
The vulnerability stems from a hardcoded JWT secret key shipped in the default environment files for the affected releases. HS256 uses the same secret for signing and verification; anyone who can read the .env.default files or otherwise obtain the secret can generate a JWT with any payload and a valid signature. No additional privileges or authentication steps are required to use the forged token against the platform’s authentication endpoints.
Impact
An attacker who knows the default secret can generate JWTs that impersonate any user, including the administrative role, granting full control over the AutoGPT Platform, its data, and deployed AI agents. All deployments running the vulnerable versions are exposed.
Recommended Actions
- Apply the vendor-supplied update to version 0.8.0 or later.
- Replace the default JWT secret with a unique, strong key.
- Restrict network access to the AutoGPT Platform API to trusted hosts.
- Monitor authentication logs for newly issued JWTs with unexpected signatures.
- Disable any public endpoints that accept JWTs from untrusted sources until the secret is rotated.
Detection
Review the backend/.env.default and autogpt_platform/.env.default files for the presence of the default JWT secret. Audit authentication logs for JWTs signed with the known secret or for token issuance from unexpected sources. Implement alerts for newly created admin-level tokens and for any use of the default secret.