CVE-2024-1879

CSRF to RCE in significant-gravitas/autogpt

Published Jun 6, 2024 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-17604 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.
History
Type Values Removed Values Added
First Time appeared Agpt autogpt Classic
CPEs cpe:2.3:a:agpt:autogpt:0.5.0:*:*:*:*:*:*:* cpe:2.3:a:agpt:autogpt_classic:0.5.0:*:*:*:*:*:*:*
Vendors & Products Agpt autogpt
Agpt autogpt Classic
Type Values Removed Values Added
Metrics epss

{'score': 0.00157}

epss

{'score': 0.00388}

Type Values Removed Values Added
First Time appeared Agpt
Agpt autogpt
CPEs cpe:2.3:a:agpt:autogpt:0.5.0:*:*:*:*:*:*:*
Vendors & Products Agpt
Agpt autogpt
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 21, 2024, 2:26 PM
Reserved
Feb 26, 2024, 2:49 AM
Status
Modified
Published
Jun 6, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:05 AM