{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8156","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-08-25T17:45:18.099Z","datePublished":"2025-03-20T10:09:12.930Z","dateUpdated":"2025-10-15T12:50:39.556Z"},"containers":{"cna":{"title":"Command Injection in significant-gravitas/autogpt","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2025-10-15T12:50:39.556Z"},"descriptions":[{"lang":"en","value":"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":[{"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","versions":[{"version":"unspecified","lessThan":"0.5.1","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51"},{"url":"https://github.com/significant-gravitas/autogpt/commit/1df7d527dd37dff8363dc162fb58d300f072e302"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-77  Improper Neutralization of Special Elements used in a Command ('Command Injection')","cweId":"CWE-77"}]}],"source":{"advisory":"959efe87-f109-4cef-94d8-90ff2c7aef51","discovery":"EXTERNAL"}},"adp":[{"references":[{"url":"https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-20T13:52:50.036595Z","id":"CVE-2024-8156","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-03-20T13:54:05.257Z"}}]}}