GHSA-qh3g-555w-f82q
Duplicate Advisory: PraisonAI vulnerable to Remote Code Execution via Broken AST Sandbox
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-26mh-57q7-jfvr. This link is maintained to preserve external references. ### Original 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.
An attacker can exploit this with local access to the system, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | PraisonAI | < 4.6.78 | none recorded |