CVE-2024-8156

Severity CVSS v4.0:
Pending analysis
Type:
CWE-77 Command Injection
Publication date:
20/03/2025
Last modified:
15/10/2025

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:* 0.5.1 (excluding)