Skip to content
CriticalVulnerability

CVE-2024-8156: significant-gravitas/autogpt command injection in workflow-checker.yml workflow

Identifier
CVE-2024-8156
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-8156 is a command injection flaw in the workflow-checker.yml workflow of significant-gravitas/autogpt. The workflow uses the untrusted input `github.head.ref` insecurely, so an attacker who creates a branch with a malicious name and opens a pull request can inject arbitrary commands. This affects versions up to and including the latest version, and the source notes it could lead to reverse shell access or theft of sensitive tokens and keys.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.