# CVE-2024-1879: CSRF to RCE in significant-gravitas/autogpt

- Severity: High 8.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T17:53:21.654Z
- Modified: 2026-06-17T07:05:12.353Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- significant-gravitas significant-gravitas/autogpt: from unspecified before 5.1
- significant-gravitas autogpt: 0.5.0
- agpt autogpt_classic: 0.5.0

## Every score

- @huntr_ai: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/125c2d0c-0481-4e5c-ae90-fec263acdf32> (exploit, third-party-advisory)
- <https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669> (patch)

## Sources

- CVE List: [CVE-2024-1879](https://www.cve.org/CVERecord?id=CVE-2024-1879), CVE Terms of Use, modified 2024-08-21
- NVD: [CVE-2024-1879](https://nvd.nist.gov/vuln/detail/CVE-2024-1879), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-1879 · Whole record: https://cve.day/CVE-2024-1879.json · Rebuilt by cve.day 2026-11-25T22:58:41.485Z
