CSRF in Agpt Autogpt Classic

CVE-2024-1879

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.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.005 (41.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-1879?
CVE-2024-1879 is a high-severity vulnerability in Agpt Autogpt Classic, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.8/10. Published 2024-06-06.
How severe is CVE-2024-1879?
High severity. CVSS v3 base score is 8.8 out of 10.