Vulnerabilities · 2024 · Agpt
CVE-2024-8156
Agpt Autogpt Classic vulnerability
A command injection vulnerability exists in the workflow-checker.yml workflow of significant-gravitas/autogpt. The untrusted user input `github.head.ref` is used insecurely, allowing an attacker to inject arbitrary commands. This vulnerability affects versions up to and including the latest version. An attacker can exploit this by creating a branch name with a malicious payload and opening a pull request, potentially leading to reverse shell access or theft of sensitive tokens and keys.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Autogpt Classic. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Agpt Autogpt Classic runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Agpt products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.