Description
PraisonAI is a multi-agent teams system. In versions prior to 4.6.40, the bundled Claude GitHub Actions workflow is vulnerable to command injection because it embeds an attacker-controlled pull request branch name into a Bash run: block without quoting or validation. Additionally, the workflow allows any @claude comment to trigger the job regardless of whether the commenter is a trusted collaborator. An outside contributor can open a pull request from a fork whose branch name contains shell metacharacters and comment @claude, causing Bash to execute arbitrary shell code in the GitHub Actions runner. Because these commands run in a job holding a GitHub App token with write permissions, OIDC access, and gh/git access, the injection can be chained through $GITHUB_PATH to compromise later privileged steps, enabling repository writes, pull request and issue manipulation, or OIDC-token abuse. This issue has been fixed in version 4.6.40.
Severity (CVSS)
| Base score | 10 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-862 — CWE-862: Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MervinPraison | PraisonAI | < 4.6.40 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-xp85-6wwf-r67c (x_refsource_CONFIRM)
- https://github.com/MervinPraison/PraisonAI/commit/179cab02dbec0c1e9b601507a659 (x_refsource_MISC)
Generated from the official CVE List on 06 Aug 2026 07:06 UTC.