Command Injection Vulnerability in PraisonAI by Mervin Praison
CVE-2026-48168
What is CVE-2026-48168?
PraisonAI, a multi-agent teams system, has a command injection vulnerability in versions prior to 4.6.40 due to a flawed GitHub Actions workflow. This vulnerability arises from the workflow improperly handling attacker-controlled pull request branch names in a Bash run block, lacking proper quoting or validation. Furthermore, the workflow permits any @claude comment to trigger job execution, regardless of the commenter's trust status. An attacker can exploit this by crafting a pull request from a fork with a shell metacharacter in the branch name and using an @claude comment to execute arbitrary shell commands on the GitHub Actions runner. These commands operate with elevated GitHub App token privileges, allowing potential repository writes, manipulation of pull requests/issues, or abuse of OIDC tokens. The issue is resolved in version 4.6.40.
Affected Version(s)
PraisonAI < 4.6.40
