Skip to content

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

CriticalCVSS 9.8 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
agpt autogpt classic < 0.5.1 0.5.1 Fixed
significant-gravitas/autogpt < 0.5.1 0.5.1 Fixed

Affected products

ProductAffected versionsFixed in
significant-gravitas/autogpt < 0.5.1 0.5.1
agpt autogpt classic < 0.5.1 0.5.1

References