Skip to content
OpenAdvisories
High · 8.8 CVE-2024-8156 EUVD-2025-6892GHSA-rrfw-qqmx-gqwx

Command Injection in significant-gravitas/autogpt

Published Mar 20, 2025 · Updated Oct 15, 2025 · Assigned by @huntr_ai

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

VendorProductAffectedFixed
significant-gravitas significant-gravitas/autogpt unspecified – < 0.5.1 0.5.1

References