Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2024-8156Command Injection in significant-gravitas/autogpt

High 8.8

In plain English

A high-severity command injection in significant-gravitas/autogpt from significant-gravitas. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities).

Severity (CVSS 3.0)8.8High
Exploit odds (30 days)1.7%top 22.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected products (as reported)

VendorProductVersions
significant-gravitas significant-gravitas/autogpt unspecified – before 0.5.1

Weakness: CWE-77 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References