CVE-2026-40088 Details
Description
PraisonAI is a multi-agent teams system. Prior to 4.5.121, the execute_command function and workflow shell execution are exposed to user-controlled input via agent workflows, YAML definitions, and LLM-generated tool calls, allowing attackers to inject arbitrary shell commands through shell metacharacters. This vulnerability is fixed in 4.5.121.
A command injection vulnerability has been identified in PraisonAI versions prior to 4.5.121. The issue arises because the execute_command function and workflow shell executions are vulnerable to user-controlled input. This input can be injected through agent workflows, YAML definitions, and LLM-generated tool calls, allowing attackers to execute arbitrary shell commands by exploiting shell metacharacters. The vulnerability is rooted in the default use of 'subprocess.run()' with 'shell=True', which enables the execution of unintended commands by interpreting metacharacters such as ';', '|', '&&', and '$()'.
Users are advised to update to PraisonAI version 4.5.121 or later, where this vulnerability has been fixed. Additionally, review and sanitize any user-controlled input in workflows and agent configurations to prevent command injection.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.121 | [email protected] | Release Notes |
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2763-cj5r-c79m | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| praison praisonai | < 4.5.121 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | Initial Analysis | [email protected] |
| Apr 9, 2026 | New CVE Received | [email protected] |