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 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.
Improper Authentication CWE-287
The software does not properly check that people are who they say they are, so an attacker may get in without a valid login.
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Weakness data: MITRE Common Weakness Enumeration.
Use of Insufficiently Random Values CWE-330
The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
Weakness data: MITRE Common Weakness Enumeration.
Use of Hard-coded Credentials CWE-798
A password or key is built into the software, so anyone who knows it can log in.
The product contains hard-coded credentials, such as a password or cryptographic key.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Significant-Gravitas AutoGPT | Software | >= 0.6.26, < 0.8.0 | not recorded |
The 10.0 severity score (critical) from github.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Changed | The attacker can get beyond the vulnerable program and affect other parts of the system. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 6.0 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 2 sources for this flaw, none tagged as a vendor patch.