CVE-2024-8156

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductAgpt Autogpt Classic
PublishedMar 20, 2025
First seenMar 20, 2025

How to fix

Update
  • agpt autogpt_classic0.5.1 or later

Affected products

ProductAffected versionsFixed in
agpt autogpt_classicv < 0.5.10.5.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.