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.
Published: 2026-08-05
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In affected versions of PraisonAI the bundled Claude GitHub Actions workflow injects the pull request branch name directly into a Bash run block without quoting or validation, allowing shell metacharacters to be executed. The trigger is any @claude comment, and there is no restriction on who may comment; thus an outsider can create a pull request from a fork, craft a branch name containing malicious commands, comment @claude, and cause the runner to execute arbitrary shell code. Because the job runs with a GitHub App token that has write permissions, OIDC access, and GitHub CLI access, the injected commands can manipulate the repository (writes, review comments, issue creation), tamper with future job steps via $GITHUB_PATH, or abuse the OIDC token for elevated access elsewhere.

Affected Systems

Products: MervinPraison PraisonAI, all releases before version 4.6.40 that include the bundled Claude GitHub Actions workflow. Users of older releases should verify the workflow configuration and version.

Risk and Exploitability

The severity is maximum with a CVSS score of 10, and the EPSS score is not available, indicating no data but still a high theoretical risk. The exploit path requires only that a contributor be able to open a pull request from a fork and post an @claude comment; this is trivial for public repositories or repositories that allow forked PRs. The unauthenticated trigger combined with privileged runner permissions means any attacker who can inject the branch name immediately gains full write and OIDC capabilities, enabling repository corruption, data exfiltration, or further lateral movement. Because this is a command injection in a build environment, any successful exploitation would effectively bypass the repository’s integrity controls.

Generated by OpenCVE AI on August 5, 2026 at 20:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.40 or later where the vulnerable workflow has been corrected.
  • Disable the bundled Claude GitHub Actions workflow or remove the untrusted @claude trigger until an updated workflow is available.
  • Restrict @claude comment execution to trusted collaborators or enforce branch name validation by quoting or sanitizing the branch name before it is used in the Bash run block.

Generated by OpenCVE AI on August 5, 2026 at 20:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai

Wed, 05 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title PraisonAI: GitHub Actions Claude workflow command injection via unquoted PR branch name
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T19:24:05.128Z

Reserved: 2026-05-20T23:12:43.032Z

Link: CVE-2026-48168

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-05T19:17:31.070

Modified: 2026-08-05T20:17:09.170

Link: CVE-2026-48168

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T20:30:06Z

Weaknesses