Skip to main content
← All vulnerabilities
CVE-2024-8156

Command Injection in significant-gravitas/autogpt

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • significant-gravitas significant-gravitas/autogpt

    fixed in 0.5.1

References 2

huntr.com

GitHub · significant-gravitas/autogpt