Description
PraisonAI before 4.6.78 contains a remote code execution vulnerability in JobWorkflowExecutor._exec_inline_python() due to insufficient AST validation of workflow script steps. Attackers can create malicious YAML workflow files with import os statements followed by os.system() calls that bypass sandbox checks and execute arbitrary OS commands with process privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MervinPraison | PraisonAI | < 4.6.78 | 4.6.78 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | praisonai | < 4.6.78 | 4.6.78 | GHSA-26mh-57q7-jfvr |
References
- GitHub Security Advisory (GHSA-26mh-57q7-jfvr) vendor-advisory
- VulnCheck Advisory: PraisonAI before 4.6.78 Remote Code Execution via Broken AST Sandbox third-party-advisory