{"id":"CVE-2024-8156","aliases":["CVE-2024-8156"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in significant-gravitas/autogpt","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de inyección de comandos en el flujo de trabajo workflow-checker.yml de significant-gravitas/autogpt. La entrada de usuario no confiable `github.head.ref` se usa de forma insegura, lo que permite a un atacante inyectar comandos arbitrarios. Esta vulnerabilidad afecta a versiones hasta la más reciente. Un atacante puede explotarla creando un nombre de rama con una carga maliciosa y abriendo una solicitud de extracción, lo que podría provocar acceso inverso al shell o el robo de tokens y claves confidenciales.","source":"nvd"}],"published":"2025-03-20T10:09:12.930Z","modified":"2026-06-17T08:22:00.827Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.5.1","status":"affected"}],"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.5.1"}],"vendor":"agpt","product":"autogpt_classic","cpe":"cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/significant-gravitas/autogpt/commit/1df7d527dd37dff8363dc162fb58d300f072e302","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-03-20T13:52:50.036Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8156","url":"https://www.cve.org/CVERecord?id=CVE-2024-8156","licence":"CVE Terms of Use","modified":"2025-10-15T12:50:39.556Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8156","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8156","licence":"Public domain","modified":"2026-06-17T08:22:00.827Z"}],"updatedAt":"2026-11-25T22:58:52.392Z","epss":{"score":0.02359,"percentile":0.84507,"date":"2026-11-30T12:00:22.000Z"}}