CVE-2024-8156

published 20 Mar 2025 · updated 15 Oct 2025

Command Injection in significant-gravitas/autogpt

8.8HighCVSS 8.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 0.5.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Significant-Gravitas<0.5.10.5.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8156 severity on Zeptric[![CVE-2024-8156](https://zeptric.io/badge/cve/CVE-2024-8156.svg)](https://zeptric.io/cve/CVE-2024-8156)