---
cve: "CVE-2024-8156"
severity: "HIGH"
cvss: 8.8
epss: "1.7%"
vendor: "Significant-Gravitas"
kev: false
exploited: false
published: "2025-03-20 10:15:41"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-22T23:20:23+02:00"
---

# CVE-2024-8156

> 8.8 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 26324f29849967fa72c207da929af612f1740669 (Commit)
- 1df7d527dd37dff8363dc162fb58d300f072e302 (Commit)

## Referenzen

- <https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51>
- <https://github.com/significant-gravitas/autogpt/commit/1df7d527dd37dff8363dc162fb58d300f072e302>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-8156) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
