A Cross-Site Request Forgery (CSRF) vulnerability in significant-gravitas/autogpt version v0.5.0 allows attackers to execute arbitrary commands on the AutoGPT server. The vulnerability stems from the lack of protections on the API endpoint receiving instructions, enabling an attacker to direct a user running AutoGPT in their local network to a malicious website. This site can then send crafted requests to the AutoGPT server, leading to command execution. The issue is exacerbated by CORS being enabled for arbitrary origins by default, allowing the attacker to read the response of all cross-site queries. This vulnerability was addressed in version 5.1.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 | Patch | 
| https://huntr.com/bounties/125c2d0c-0481-4e5c-ae90-fec263acdf32 | Exploit Third Party Advisory | 
| https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 | Patch | 
| https://huntr.com/bounties/125c2d0c-0481-4e5c-ae90-fec263acdf32 | Exploit Third Party Advisory | 
Configurations
                    History
                    05 Aug 2025, 15:35
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:agpt:autogpt_classic:0.5.0:*:*:*:*:*:*:* | |
| First Time | Agpt autogpt Classic | 
21 Nov 2024, 08:51
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 - Patch | |
| References | () https://huntr.com/bounties/125c2d0c-0481-4e5c-ae90-fec263acdf32 - Exploit, Third Party Advisory | 
24 Sep 2024, 13:54
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time | Agpt Agpt autogpt | |
| References | () https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 - Patch | |
| References | () https://huntr.com/bounties/125c2d0c-0481-4e5c-ae90-fec263acdf32 - Exploit, Third Party Advisory | |
| CPE | cpe:2.3:a:agpt:autogpt:0.5.0:*:*:*:*:*:*:* | 
07 Jun 2024, 14:56
| Type | Values Removed | Values Added | 
|---|---|---|
| Summary | 
 | 
06 Jun 2024, 18:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2024-06-06 18:15
Updated : 2025-08-05 15:35
NVD link : CVE-2024-1879
Mitre link : CVE-2024-1879
CVE.ORG link : CVE-2024-1879
JSON object : View
Products Affected
                agpt
- autogpt_classic
CWE
                
                    
                        
                        CWE-352
                        
            Cross-Site Request Forgery (CSRF)
